Boost logo

Boost :

From: John Maddock (jm_at_[hidden])
Date: 2003-02-11 06:40:20

> 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 but BOOST_STATIC_CONSTANT is dependent upon the config, even if the rest
of your code is not, sorry :-/

John Maddock

Boost list run by bdawes at, gregod at, cpdaniel at, john at