StandardHashingSet

StandardKeyHashingSet class template. Manages a set of K's with fast lookup 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. - 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.

Constructors

this
this(size_t n, float load_factor)

Constructor.

this
this(IAllocator allocator, size_t n, float load_factor)

Constructor.

Members

Mixins

__anonymous
mixin StandardHash.toHash!(K)

Mixin of the toHash() method which is declared abstract in BucketSet.

Meta