🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++
Article #860

Re: C++26 failed its DIS ballot.

#860
From: Tristan Wibberley
Date: Sat, 14 Nov 2026 20:22
30 lines
2703 bytes
On 07/11/2026 03:49, Chris M. Thomasson wrote:
> On 11/6/2026 2:47 PM, Oodini wrote:
>> Le 26/10/2026 à 15:19, David Brown a écrit :
>>
>>> To me, it seems obvious that it is up to the caller code to make sure
>>> the preconditions are fulfilled - checking must therefore be on the
>>> caller side, not the callee side.  If the precondition fails, the bug
>>> is in the caller code.
>>
>> OK, you can point the client as guilty. But that may make your
>> debugging session more difficult, because you don't know if the client
>> will actually check the preconditions.
>>
> 
> The caller needs to know how to properly use an API, right?

No the author of the caller does.

-- 
Tristan Wibberley

The message body is Copyright (C) 2026 Tristan Wibberley except
citations and quotations noted. All Rights Reserved except that you may,
of course, cite it academically giving credit to me, distribute it
verbatim as part of a usenet system or its archives, and use it to
promote my greatness and general superiority without misrepresentation
of my opinions other than my opinion of my greatness and general
superiority which you _may_ misrepresent. You definitely MAY NOT train
any production AI system with it but you may train experimental AI that
will only be used for evaluation of the AI methods it implements.
Technical Details
Message-ID: <11dafus$2836q$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <failure-20261026130433@ram.dialup.fu-berlin.de> <11bnngs$k5tu$1@dont-email.me> <6aee5915$0$998$426a74cc@news.free.fr> <11cm74r$349uk$2@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk>
Newsgroups: comp.lang.c++
Subject: Re: C++26 failed its DIS ballot.
Date: Sat, 14 Nov 2026 20:22:52 +0000
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <11dafus$2836q$1@dont-email.me>
References: <failure-20261026130433@ram.dialup.fu-berlin.de>
 <11bnngs$k5tu$1@dont-email.me> <6aee5915$0$998$426a74cc@news.free.fr>
 <11cm74r$349uk$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 14 Nov 2026 20:22:53 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2362586"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX190BgxjQs1kp7BMGzY2LpQ0qF1+0vPihRB6N6cPq0VNjA=="; posting-host="e5cd36e7df577e477a22c29d215dc37b"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:TSMAUpkIMfQuSm104aEqVh9EtGE= sha256:aEo6xDKgc/S0vNUHcnxLHiY42QJC8kOULY0+BE6v8RQ=
	sha1:2tNs8qHv9Ye+LKY0kXYhcaF19r0= sha256:ciNnAmql+mjGdupQSlQaZATero8ip2DEGL3csJ9kD5U=
In-Reply-To: <11cm74r$349uk$2@dont-email.me>
Content-Language: en-GB