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