|
libhatchet
|
#include <hxhash_table_nodes.hpp>
Public Member Functions | |
| hxhash_table_node_string_literal (const char *k_) | |
| hxhash_table_node_string_literal (void)=delete | |
| hxhash_table_node_string_literal (const hxhash_table_node_string_literal &)=delete | |
| void | operator= (const hxhash_table_node_string_literal &)=delete |
| Public Member Functions inherited from hxhash_table_set_node< const char * > | |
| hxhash_table_set_node (ref_t_ &&key_) | |
| hxhash_table_set_node & | operator= (const hxhash_table_set_node &x_)=delete |
| bool | operator== (const hxhash_table_set_node &x_) const |
| bool | operator< (const hxhash_table_set_node &x_) const |
| const const char *& | hash_key (void) const |
| hxhash_t | hash_value (void) const |
Additional Inherited Members | |
| Public Types inherited from hxhash_table_set_node< const char * > | |
| using | key_t |
| Protected Member Functions inherited from hxhash_node_base | |
| hxhash_node_base (hxhash_t hash_) | |
| Protected Attributes inherited from hxhash_node_base | |
| hxhash_node_base * | hash_next |
| hxhash_t | hash_val |
hxhash_table_node_string_literal - Subclass of hxhash_table_set_node for static C strings.
This code expects the provided strings to outlive the container because it is intended for use with string literals.
|
inline |
Constructor initializes the node with a string key and computes its hash.
Copying and assignment are unimplemented and the key must be immutable in any assignment operation in a subclass.
|
delete |
Assignment is undefined. The key is immutable.
|
delete |
|
delete |