On 2/8/2018 12:21 PM, Peter Dimov via Boost wrote:
Edward Diener wrote:
As discussed in the doc to the CXX Dual library you do not have to choose to allow all possible variations, depending on how many different CXXD mods you decide to use. You could decide that if C++11 on up is being used your name is some 'xxx_std' while if C++11 on up is not being used your name is 'xxx', and therefore you have two naming variants.
You could do that, and it simplifies things considerably (although it doesn't allow you to link 03 with 11.)
But if you do that, what's the point of having separate CXXD macros per component then? You only need one, and the whole CXXD library collapses to a single `namespace cxxd = std|boost` directive.
Because most libraries are header-only. Because assuming that if a single CXXD mod xxx is std, all others are std is not what I would call good programming.