Put a public data member unordered_set_member_hook in order to store objects of this class in an unordered_set/unordered_multi_set. More...
#include <unordered_set_hook.hpp>
Put a public data member unordered_set_member_hook in order to store objects of this class in an unordered_set/unordered_multi_set.
unordered_set_member_hook holds the data necessary for maintaining the unordered_set/unordered_multi_set and provides an appropriate value_traits class for unordered_set/unordered_multi_set.
The hook admits the following options: void_pointer<>
, link_mode<>
and store_hash<>
.
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
).
store_hash<>
will tell the hook to store the hash of the value to speed up rehashings.