Put a public data member slist_member_hook in order to store objects of this class in an list. More...
#include <slist_hook.hpp>
Put a public data member slist_member_hook in order to store objects of this class in an list.
slist_member_hook holds the data necessary for maintaining the list and provides an appropriate value_traits class for list.
The hook admits the following options: void_pointer<>
and link_mode<>
.
link_mode<>
will specify the linking mode of the hook (normal_link
, auto_unlink
or safe_link
).
void_pointer<>
is the pointer type that will be used internally in the hook and the container configured to use this hook.