Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::intrusive::any_base_hook< O1, O2, O3 > Singleton Reference

Derive a class from this hook in order to store objects of that class in an intrusive container. More...

#include <intrusive_fwd.hpp>

Inheritance diagram for boost::intrusive::any_base_hook< O1, O2, O3 >:
Collaboration diagram for boost::intrusive::any_base_hook< O1, O2, O3 >:

Detailed Description

template<class O1, class O2, class O3>
singleton boost::intrusive::any_base_hook< O1, O2, O3 >

Derive a class from this hook in order to store objects of that class in an intrusive container.

The hook admits the following options: tag<>, void_pointer<> and link_mode<>.

tag<> defines a tag to identify the node. The same tag value can be used in different classes, but if a class is derived from more than one any_base_hook, then each any_base_hook needs its unique tag.

link_mode<> will specify the linking mode of the hook (normal_link, safe_link).

void_pointer<> is the pointer type that will be used internally in the hook and the container configured to use this hook.


The documentation for this singleton was generated from the following file: