nxt.open_hashmap

Members

Aliases

OpenHashSet
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)

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

Enums

isHoleable
eponymoustemplate isHoleable(T)

Is true iff T has a specific value dedicated to representing holes (removed/erase) values.

Functions

byElement
auto byElement(SomeMap c)
byKey
auto byKey(SomeMap c)
byKeyValue
auto byKeyValue(SomeMap c)
byValue
auto byValue(SomeMap c)
filtered
SomeMap filtered(SomeMap x)
intersectWith
auto intersectWith(C1 x, const(C2) y)
intersectedWith
auto intersectedWith(C1 x, C2 y)
removeAllMatching
size_t removeAllMatching(SomeMap x)

Remove all elements in x matching pred.

Structs

ByLvalueElement
struct ByLvalueElement(SomeMap)

Range over elements of l-value instance of this.

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

Hash table/map with in-place open-addressing, storing keys of type K and values of type V.

Templates

defaultKeyEqualPredOf
template defaultKeyEqualPredOf(T)

Default key equality/equivalence predicate for the type T.

Variables

isAddress
enum bool isAddress(T);

Is true iff T is a memory address (either a class or a pointer).

Meta