Boost logo

Boost :

Subject: Re: [boost] [Config] Support for switching between std:: and boost:: equivalents.
From: Edward Diener (eldiener_at_[hidden])
Date: 2015-06-07 09:14:51


On 6/7/2015 4:39 AM, Vicente J. Botet Escriba wrote:
> 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.

The PR just adds macros. It does not add dependencies to Boost.config.

>
> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk