Date: Thu, 17 Feb 2022 21:51:31 +0200
On Thu, 17 Feb 2022 at 21:40, Niall Douglas via Lib-Ext
<lib-ext_at_[hidden]> wrote:
>
>
> On 17/02/2022 19:12, Peter Sommerlad (C++) via Lib-Ext wrote:
> > OK, can we put the paper in the C++26 track in the hope someone will
> > write a paper to make C++26 based on C23?
>
> You could raise it as a defect against the 23 IS under the same basis as
> WG14's choice?
>
> I'm pretty sure implementers would prefer that both C and C++'s assert()
> are the same, anyway.
Well, technically, mimic the way C specifies it - they specify it
as-if it's a function. Then the weasel-wording
about NDEBUG explains how it behaves in different modes, and the
practical implementation is as in your paper,
Peter.
<lib-ext_at_[hidden]> wrote:
>
>
> On 17/02/2022 19:12, Peter Sommerlad (C++) via Lib-Ext wrote:
> > OK, can we put the paper in the C++26 track in the hope someone will
> > write a paper to make C++26 based on C23?
>
> You could raise it as a defect against the 23 IS under the same basis as
> WG14's choice?
>
> I'm pretty sure implementers would prefer that both C and C++'s assert()
> are the same, anyway.
Well, technically, mimic the way C specifies it - they specify it
as-if it's a function. Then the weasel-wording
about NDEBUG explains how it behaves in different modes, and the
practical implementation is as in your paper,
Peter.
Received on 2022-02-17 19:51:43