Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Macro BOOST_INTRUSIVE_OPTION_TYPE

BOOST_INTRUSIVE_OPTION_TYPE

Synopsis

// In header: <boost/intrusive/pack_options.hpp>

BOOST_INTRUSIVE_OPTION_TYPE(OPTION_NAME, TYPE, TYPEDEF_EXPR, TYPEDEF_NAME)

Description

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 };


PrevUpHomeNext