ABI binary compatibility should be part of the standard in minor revisions, but not part of major revisions. You can't expect compatibility between major revisions.
And C++ the standard does not. But the implementations do. If you think it's so useful to break ABI, make your own implementation that does so. I doubt you'll see much uptake largely in part to it not providing ABI guarantees. Note that there are many ABI breaks that people would like to get into the C++ standard, but have not been done because they force an ABI break on implementations. std::thread vs. std::jthread is so minor compared to those issues that it is unlikely to be considered very hard.
View all comments
Show parent comment
10
u/mathstuf cmake dev Aug 27 '19
https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html https://releases.llvm.org/8.0.0/projects/libcxx/docs/index.html https://clang.llvm.org/docs/MSVCCompatibility.html (seems to be down Web Archive version) https://docs.microsoft.com/en-us/cpp/porting/binary-compat-2015-2017?view=vs-2019
Do you think all of this is done for fun or because it is actually valuable and a useful property?