StandardKeyHashingMap class template. Manages a mapping from K to V, using
a standard way of hash calculation:
- If K is a primitive type (integer, floating point, character), the hash
value is calculated from the raw key data using the FNV1a hash function.
That means, if the keys are dynamic arrays, including strings, the array
content is used as the key, not the array instance (ptr/length).
- If K is a dynamic or static array of a primitive type, the hash value is
calculated from the raw data of the key array content using the FNV1a hash
function.
- If K is a class, struct or union, it is expected to implement toHash(),
which will be used.
- Other key types (arrays of non-primitive types, classes/structs/unions
which do not implement toHash(), pointers, function references, delegates,
associative arrays) are not supported by this class template.
StandardKeyHashingMap class template. Manages a mapping from K to V, using a standard way of hash calculation:
- If K is a primitive type (integer, floating point, character), the hash value is calculated from the raw key data using the FNV1a hash function. That means, if the keys are dynamic arrays, including strings, the array content is used as the key, not the array instance (ptr/length). - If K is a dynamic or static array of a primitive type, the hash value is calculated from the raw data of the key array content using the FNV1a hash function. - If K is a class, struct or union, it is expected to implement toHash(), which will be used. - Other key types (arrays of non-primitive types, classes/structs/unions which do not implement toHash(), pointers, function references, delegates, associative arrays) are not supported by this class template.