Open Search
    HashMapValueKeyPair Struct Reference

    #include <hashmap.h>

    Inheritance diagram for HashMapValueKeyPair:

    Detailed Description

    Marker class similar to HashMapKeyValuePair, but with a HashMap entry layout where the key will be the last data member of the entry. This can be used if keys have a variable size. If this is not needed, HashMapKeyValuePair should have a better performance as the key is directly stored behind the hash code (better locality).

    Additional Inherited Members

    - Public Types inherited from DefaultHashMapEntryHandlerBase< HashInt, HASHMAP_ENTRY_LAYOUT::HASH_VALUE_KEY >
    using HashValueType = HashInt
     
    - Static Public Attributes inherited from DefaultHashMapEntryHandlerBase< HashInt, HASHMAP_ENTRY_LAYOUT::HASH_VALUE_KEY >
    static const HASHMAP_ENTRY_LAYOUT LAYOUT