Boost logo

Boost :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2005-05-11 06:50:14


There is a small correction I have to make to this code:

BOOST_CONSTANTS was intended to be a "Named Parameter" (as defined in the
Documentation of Boost.Preprocessor). Without the #undef it is easily
misunderstood as "static data":

Tobias Schwinger wrote:
>
> [...]
>
> #define BOOST_PP_FILENAME_1 "generate_constants.hpp"
> #include BOOST_PP_ITERATE()

#undef BOOST_CONSTANTS

> //==============================================================================
>
> #elif !defined(BOOST_CONSTANT_entry) // For each constant:
> //==============================================================================
> [...]

Regards,

Tobias


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