|
Boost : |
Subject: Re: [boost] [Config] Support for switching between std:: and boost:: equivalents.
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2015-06-07 04:39:06
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk