🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: C++26 failed its DIS ballot.

#870
From: Chris M. Thomasson
Date: Sun, 15 Nov 2026 06:47
21 lines
2190 bytes
On 11/14/2026 12:22 PM, Tristan Wibberley wrote:
> 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.
> 

;^D The calling code should adhere to the API.
Technical Details
Message-ID: <11dbkim$2i47b$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> <11dafus$2836q$1@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: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Newsgroups: comp.lang.c++
Subject: Re: C++26 failed its DIS ballot.
Date: Sat, 14 Nov 2026 22:47:49 -0800
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <11dbkim$2i47b$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> <11dafus$2836q$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 15 Nov 2026 06:47:51 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2691307"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19vLdAr2yEEtC3+cTrocj3Tav0azx7jEJY="; posting-host="8d4bfe82b7f7bce740ab6d5ca121f681"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:4If45CQlTBUEzWk42xVMm3YdYRQ= sha256:OI+PkqYTh9iTNAbU4mr97cqI+E44CTL5KR9hb7iXyYA=
	sha1:HSRkmtRvTDC7/PE3eVu6xEDd5B4= sha256:rPo5vj93TwM4qVm5WE99z/Og9vYG31eCMLM3r1euZKA=
In-Reply-To: <11dafus$2836q$1@dont-email.me>
Content-Language: en-US