libhatchet
Loading...
Searching...
No Matches
hxhash_table_concept_ Concept Reference

#include <hxhash_table.hpp>

Concept definition

template<typename node_t_>
requires(node_t_& node_, const node_t_& const_node_) {
sizeof(node_t_);
sizeof(typename node_t_::key_t);
node_.set_hash_next(static_cast<node_t_*>( 0 ));
{ const_node_.hash_next() } -> hxsame_as<node_t_*>;
{ const_node_.hash_key() } -> hxconvertible_to<const typename node_t_::key_t&>;
{ const_node_.hash_value() } -> hxconvertible_to<hxhash_t>;
}
hxconvertible_to - A concept that requires one type to be convertible to another.
Definition hxkey.hpp:41
hxhash_table_concept - Concept capturing the interface requirements for hxhash_table nodes.
Definition hxhash_table.hpp:29
hxsame_as - A concept that requires two types to be the same.
Definition hxkey.hpp:51

Detailed Description

hxhash_table_concept - Concept capturing the interface requirements for hxhash_table nodes.