4 ms·
> The C++ ABI situation is famously unstable. is a couple ABI breaks for std::string between C++98 and C++20 that unstable ? You can write code that uses std:
by jcelerier 6y ago
> The C++ ABI situation is famously unstable.
is a couple ABI breaks for std::string between C++98 and C++20 that unstable ?
You can write code that uses std::string today and links against a .so built a long time ago (modulo compiler bugs of course, thus the various versions here: https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Optio...). GCC & libstdc++ go to great lengths to preserve ABI compatibility.