4 ms·
> both libstd++ & libcxx strive to maintain ABI compatibility They don't, but they do keep it stable.
by tambre 5y ago
> both libstd++ & libcxx strive to maintain ABI compatibility
They don't, but they do keep it stable.
- mst 5y agoAlternative phrasing: they strive to maintain "backwards compatibility" rather than "compatibility with each other".
- kllrnohj 5y agoFor libcxx & libstdc++ yes correct. Clang, however, does strive to maintain compatibility with G++. So you can build a library with clang & use it from g++. It strives, and for the most part achieves, to be a drop-in replacement for GCC, which includes ABI compatibility.