Date: Thu, 19 Feb 2026 17:12:33 +0200
On Thu, 19 Feb 2026 at 17:11, Andre Kostur via Std-Proposals
<std-proposals_at_[hidden]> wrote:
>
> Does this mean that this can/will behave differently depending on what
> optimization levels you may have enabled on the compiler?
Yes. Absolutely, yes.
> can pass the compile_assert(), -O0 and the compile_assert() fails?
> If so, this could be troublesome in the context of the Standard since
> it doesn't currently acknowledge "optimization levels".
Yep.
<std-proposals_at_[hidden]> wrote:
>
> Does this mean that this can/will behave differently depending on what
> optimization levels you may have enabled on the compiler?
Yes. Absolutely, yes.
> can pass the compile_assert(), -O0 and the compile_assert() fails?
> If so, this could be troublesome in the context of the Standard since
> it doesn't currently acknowledge "optimization levels".
Yep.
Received on 2026-02-19 15:12:51
