Le 05/06/15 09:41, John Maddock a écrit :
There is a pull-request for Config to provide support for switching between boost:: and std:: library equivalents: https://github.com/boostorg/config/pull/63
My questions are:
* Is this the right approach? And, * Is Boost.Config the right place for it?
This PR makes Boost.Config depend on all the related Boost libraries creating a whole cycle and modularity will be broken. It would suggest to have some kind of Boost.Std library with different versions c++11/c++14 and why not TSs. However the concerned libraries couldn't use this library without adding cycles :( Having a sub-library for each file Boost.Std/Regex would make it possible for a Boost library to use these sub-libraries without adding cycles. An alternative is to add these files in the concerned libraries, e.g. boost/regex/std/regex.hpp Vicente