Helper struct used for implementing HashMap . This type is used as template parameter TAccess of HashTable .
TKey | The key type. |
TMapped | The type of the mapped objects. |
Definition at line 29 of file hashmap.hpp.
#include <hashmap.hpp>
Public Method Index: | |
TKey & | Key (std::pair< TKey, TMapped > &src) const |
TMapped & | Mapped (std::pair< TKey, TMapped > &src) const |
|
inline |
Returns the first element of a std::pair
.
src | The value of the element to hash. |
Definition at line 36 of file hashmap.hpp.
|
inline |
Returns the second element of a std::pair
.
src | The value of the element to hash. |
Definition at line 46 of file hashmap.hpp.