Re:C++ 20: The Core Language
by CoolGuySteve on Tuesday November 05, 2019 @03:45PM
(#21456488)
Your example breaks if you change the C++11 pane to GCC 4.9 or earlier, which is the default in CentOS 7 and Ubuntu 14.04.
Considering that was only 5 years ago, I wouldn't consider this a stable ABI.
that is a problem with your distribution (and the reason why using distro packages sucks for development), not with C++.
The ABI only changes if you change the value of _GLIBCXX_USE_CXX11_ABI with libstdc++
See : https://gcc.godbolt.org/z/QLbjjo