🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: C++26 failed its DIS ballot.

#779
From: Chris M. Thomasson
Date: Sat, 07 Nov 2026 03:49
14 lines
1952 bytes
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?
Technical Details
Message-ID: <11cm74r$349uk$2@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!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>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Newsgroups: comp.lang.c++
Subject: Re: C++26 failed its DIS ballot.
Date: Fri, 6 Nov 2026 19:49:47 -0800
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <11cm74r$349uk$2@dont-email.me>
References: <failure-20261026130433@ram.dialup.fu-berlin.de>
 <11bnngs$k5tu$1@dont-email.me> <6aee5915$0$998$426a74cc@news.free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 07 Nov 2026 03:49:48 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3286996"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+OYnobUwTtbJcB3dQefrKPs3fIYxTdnkU="; posting-host="bc0e21f3ed9b117e5b0477befa9d31ee"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:IkgKWfH4XfWqsbcVDLdBZvKlvSY= sha256:TIec+vHwGz/uk0/KMlfITbbS/4tv4aj2F9RCwz+K+Hk=
	sha1:kqFF696ihkw62FqyfsUlNSZfJMQ= sha256:YYZ2WnRzFhJqb4adsBPo7gRY4cyDaHqz7B/unI+nyvs=
Content-Language: en-US
In-Reply-To: <6aee5915$0$998$426a74cc@news.free.fr>