Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2003-02-11 07:13:08


On Tue, 11 Feb 2003 11:40:20 -0000, "John Maddock"
<jm_at_[hidden]> wrote:

>> Well, the title says it all :-) I would like to have a separate source
>> file for the ubiquitous BOOST_STATIC_CONSTANT. I have several files
>> that use BOOST_STATIC_CONSTANT but no real config macro. For those
>> ones, I currently have something like
>>
>> #include "boost/config.hpp" // for BOOST_STATIC_CONSTANT
>>
>> Wouldn't
>>
>> #include "boost/config/static_constant.hpp"
>>
>> be preferable?
>
>Yes

Ok, you've said "yes"!

> but BOOST_STATIC_CONSTANT is dependent upon the config, even if the rest
>of your code is not, sorry :-/

Which is what I said in reply to Gustavo. That doesn't mean that you
have to include boost/config *instead* of static_constant.hpp.

Genny.


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