![]() |
Home | Libraries | People | FAQ | More |
BOOST_INTRUSIVE_OPTION_TYPE
// In header: <boost/intrusive/pack_options.hpp>
BOOST_INTRUSIVE_OPTION_TYPE(OPTION_NAME, TYPE, TYPEDEF_EXPR, TYPEDEF_NAME)
Defines an option class of name OPTION_NAME that can be used to specify a type of type TYPE...
...that after being combined with boost::intrusive::pack_options
, will typedef TYPE as a typedef of name TYPEDEF_NAME. Example:
//[includes and namespaces omitted for brevity] //This macro will create the following class: // template<class VoidPointer> // struct my_pointer // { unspecified_content };