https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115672
--- Comment #1 from Sean Murthy <s.murthy at outlook dot com> --- Created attachment 58525 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58525&action=edit Pre-processed file for repro source Produced with GCC 14.1. static_asserts adjusted (negations where it fails incorrectly) such that program compiles successfully. g++ -v -save-temps -std=c++20 -Wall -Wextra -pedantic -pedantic-errors -Werror=pedantic ..\src\main.cpp