You don't need anything like this for C++
You don't need anything like this for C++
Posted Jun 19, 2012 20:12 UTC (Tue) by khim (subscriber, #9252)In reply to: automated testing by nix
Parent article: Calling for a new openSUSE development model
C++ has it's own portable way of doing this:
namespace my_super_duper_library {
inline namespace version_0 {
func foo(int);
}
}
in next version
namespace my_super_duper_library {
inline namespace version_1 {
func foo(long);
}
}
Users always use my_super_duper_library::foo and everyone is happy.
