You don't need anything like this for C++
You don't need anything like this for C++
Posted Jun 20, 2012 0:58 UTC (Wed) by mathstuf (subscriber, #69389)In reply to: You don't need anything like this for C++ by joib
Parent article: Calling for a new openSUSE development model
For another project, I had come up with a namespacing strategy for it (it was API compatible via a namespace protocol = protocol_v1 or something similar for whenever things bumped), but I had thought for some reason that it wouldn't work similarly to symbol versioning. Since the compiler would, even in that case, expand the namespaces out so that things are always the same, it would work. It'd be nice if the symbol versioning documentation would mention this as a solution for C++ (the inline namespace is nice, but the stuff I've been writing tends to need to work on RHEL5 and MSVC still).
