nxt.container.flat_hashmap

Undocumented in source.

Members

Aliases

FlatHashSet
alias FlatHashSet(K, alias hasher = hashOf, string keyEqualPred = defaultKeyEqualPredOf!K, Allocator = Mallocator, bool borrowChecked = false, bool useSmallLinearSearch = true, bool usePrimeCapacity = false) = FlatHashMap!(K, void, hasher, keyEqualPred, Allocator, borrowChecked, useSmallLinearSearch, usePrimeCapacity)

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

range
alias range = byElement
Undocumented in source.

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)
make
T make(ulong value)
Undocumented in source. Be warned that the author may not have intended to support it.
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.

FlatHashMap
struct FlatHashMap(K, V = void, alias hasher = hashOf, string keyEqualPred = defaultKeyEqualPredOf!(K), Allocator = Mallocator, 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