Derive a class from this hook in order to store objects of that class in an intrusive container. More...
#include <intrusive_fwd.hpp>
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.