
11 May
2005
11 May
'05
11:50 a.m.
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