Comment by BeetleB
7 hours ago
> What is the downside of switching to the newest standard when it's properly supported?
"Properly supported" is the key here. Does GCC currently properly support C++23, for example? When I checked a few months ago, it didn't.
Where do you draw the line for properly supported? I've been using g++ in c++23 mode for quite some time now - even if every feature is not entirely implemented, the ones that work, work well and are a huge improvement
I draw the line where I can't expect the default gcc on most Linux and Mac systems to compile my code. And I don't want to force them to install a particular compiler. -std=c++20 seems to work pretty reliably these days.
We're starting to need caniuse.com for C++.
It already exists, https://en.cppreference.com/w/cpp.html