C++ Logo

liaison

Advanced search

Re: [wg14/wg21 liaison] [isocpp-sg21] Telecon to review P2388R1 Minimum Contract Support: either Ignore or Check_and_abort

From: Peter Brett <pbrett_at_[hidden]>
Date: Wed, 22 Sep 2021 07:27:52 +0000
> -----Original Message-----
> From: SG21 <sg21-bounces_at_[hidden]> On Behalf Of Jens Maurer via
> SG21
> Sent: 21 September 2021 22:02
> To: liaison_at_[hidden]; mcdougall.ryan_at_[hidden]
> Minimum Contract Support: either Ignore or Check_and_abort
>
> (Personally, I think contracts should be a first-level
> language feature that should not be hidden inside an
> attribute-looking syntax atrocity. At least in C++,
> the space where they are does allow for context-sensitive
> keywords without much hassle; cf. override and final.)

I absolutely agree. Furthermore, we have a plausible keyword available: throws.

                       Peter

Received on 2021-09-22 02:28:02