|
Boost : |
Subject: Re: [boost] [Config] Multiple versions of Boost
From: Emil Dotchevski (emil_at_[hidden])
Date: 2008-09-12 20:36:24
On Fri, Sep 12, 2008 at 5:03 PM, Sohail Somani <sohail_at_[hidden]> wrote:
> Emil Dotchevski wrote:
>>> What if Boost.Config did something like:
>>>
>>> #if !defined(BOOST)
>>> # define BOOST boost
>>> #endif
>>>
>>> And we replace all uses of the boost namespace with BOOST?
>>
>> Not all boost headers include boost/config.hpp.
>
> Is that really a problem?
>
> #include <boost/config/namespace.hpp>
In principle, personally, I'm against making any header mandatory.
But also, if someone asks you to integrate a statically linked library
that used a version of the standard library different from the one you
were using, what would you do? :)
Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk