Subject: Re: [boost] C++03 / C++11 compatibility question for compiled libraries
From: Peter Dimov (lists_at_[hidden])
Date: 2018-02-08 17:21:24
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk