SIGN IN SIGN UP

Fall back to -std=c++2a on compilers without -std=c++20 (#105)

GCC 8 implements C++20 under the pre-release spelling only. CMake still lists
cxx_std_20 as supported there because it maps the feature onto -std=c++2a, so
the feature list cannot tell us which spelling the compiler accepts. Probe the
flag itself instead.
B
Bernard Ladenthin committed
907d50cb90048f94b9157b4015941fc769360ae8
Parent: 39060e2
Committed by GitHub <noreply@github.com> on 8/9/2026, 12:52:46 PM