C++ Logo

sg15

Advanced search

Re: [isocpp-sg15] [isocpp-sg21] P3835 -- Different contract checking for different libraries

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Mon, 27 Oct 2025 20:18:53 +0200
On Mon, 27 Oct 2025 at 20:15, Andrei Zissu <andrziss_at_[hidden]> wrote:
>
>
>
> On Mon, Oct 27, 2025 at 8:02 PM Gabriel Dos Reis <gdr_at_[hidden]> wrote:
>>
>> [Ville]
>> > It doesn't. The goal isn't to get some functionality as fast as
>> > possible, but to get cohesive and correct functionality so that we
>> > don't run into
>> > a situation where programmers have unfortunate choices to make, and
>> > then some need to deal with the support, review, policy and product
>> > management consequences of those choices.
>>
>> 100%.
>>
>> Furthermore, WG21 voting something into a stack of papers does not magically make that thing spontaneously appear in your production compiler if said thing is ignored or seen as totally wacky.
>
>
> Ignoring a major new language feature may prove disadvantageous for said compiler once competing ones start supporting it.

It will result in some of us having to macro every single contract
assertion that might ever enter our codebases, including some in code
that
we don't write but have to use. Even if that code is C++26-only.

Not exactly the best use of development budgets, that.

Received on 2025-10-27 18:19:07