![]() |
Home | Libraries | People | FAQ | More |
BOOST_INTRUSIVE_OPTION_CONSTANT
// In header: <boost/intrusive/pack_options.hpp>
BOOST_INTRUSIVE_OPTION_CONSTANT(OPTION_NAME, TYPE, VALUE, CONSTANT_NAME)
Defines an option class of name OPTION_NAME that can be used to specify a constant of type TYPE with value VALUE...
...that after being combined with boost::intrusive::pack_options
, will contain a CONSTANT_NAME static constant of value VALUE. Example:
//[includes and namespaces omitted for brevity] //This macro will create the following class: // template<bool Enabled> // struct incremental // { unspecified_content };