Re:GCC 16 considering changing default to C++20
by menaerus on Tuesday November 18, 2025 @01:51AM
(#45962113)
There is - you simply build your code with -std=c++XY, and if your toolchain doesn't support it (which one btw doesn't support at least c++17?), it will simply error out, no? That should be a pretty strong signal that your code requires XY standard without having to go into the CMake territory. Even if you want to, I see nothing wrong with the way they are implemented. Two simple variables doing two simple things.
[ Parent
| on HN ]
There are no comments on this comment yet.