OpenHashSet

Hash set with in-place open-addressing, storing keys (elements) of type K.

Reuse OpenHashMap with its V-type set to void.

@safe
alias OpenHashSet(K, alias hasher = hashOf, string keyEqualPred = defaultKeyEqualPredOf!K, alias Allocator = Mallocator.instance, bool borrowChecked = false, bool useSmallLinearSearch = true, bool usePrimeCapacity = false) = OpenHashMap!(K, void, hasher, keyEqualPred, Allocator, borrowChecked, useSmallLinearSearch, usePrimeCapacity)

See Also

OpenHashMap.

Meta