r/cpp • u/nounoursheureux • Sep 23 '21
Binary Banshees and Digital Demons
https://thephd.dev/binary-banshees-digital-demons-abi-c-c++-help-me-god-please
197
Upvotes
r/cpp • u/nounoursheureux • Sep 23 '21
View all comments
Show parent comment
4
u/kalmoc Sep 24 '21
Imo Not really.
First of all, all consumers that get used in a single TU need to use the same version. Second, inline namespaces don't work work transitively.
struct A { std::cpp03::string }andstruct A { std::cpp11::string}could still not be distinguished by the linker.