Date: Thu, 19 Feb 2026 15:25:13 +0000
On Thu, 19 Feb 2026 at 15: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? -O3 and it
> can pass the compile_assert(), -O0 and the compile_assert() fails?
>
Yes
> If so, this could be troublesome in the context of the Standard since
> it doesn't currently acknowledge "optimization levels".
>
Yes
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? -O3 and it
> can pass the compile_assert(), -O0 and the compile_assert() fails?
>
Yes
> If so, this could be troublesome in the context of the Standard since
> it doesn't currently acknowledge "optimization levels".
>
Yes
Received on 2026-02-19 15:25:30
