|
GCSIM
|
the structure of the element inside of the hash_map. More...
#include <hash-map-entry.hpp>
Public Member Functions | |
| hash_map_entry (const K &k, const V &v) | |
| creates an instance of the hash_map entry. | |
| hash_map_entry (K &&k, V &&v) | |
| creates an instance of the hash_map entry. | |
Public Attributes | |
| hash_map_entry * | next |
| pointer to the next entry in the bucket. | |
| K | key |
| key of the entry. | |
| V | value |
| value of the entry. | |
the structure of the element inside of the hash_map.
| K | - type of the key. |
| V | - type of the value. |
|
inline |
creates an instance of the hash_map entry.
| k | - const reference to a key. |
| v | - const reference to a value. |
next defaults to nullptr.
|
inline |
creates an instance of the hash_map entry.
| k | - rvalue key. |
| v | - rvalue value. |
next defaults to nullptr.
| K hash_map_entry< K, V >::key |
key of the entry.
| hash_map_entry* hash_map_entry< K, V >::next |
pointer to the next entry in the bucket.
| V hash_map_entry< K, V >::value |
value of the entry.