Hashtable

Undocumented in source.
struct Hashtable (
K
V
) {}

Constructors

this
this(A allocator)
Undocumented in source.
this
this(U assocArr)
Undocumented in source.
this
this(A allocator, U assocArr)
Undocumented in source.

Members

Functions

clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty()
Undocumented in source. Be warned that the author may not have intended to support it.
front
auto ref front()
Undocumented in source. Be warned that the author may not have intended to support it.
get
V get(K key, V nullValue)
Undocumented in source. Be warned that the author may not have intended to support it.
getAllocator
auto ref getAllocator()
Undocumented in source. Be warned that the author may not have intended to support it.
insert
size_t insert(U assocArr)
Undocumented in source. Be warned that the author may not have intended to support it.
keyValuePairs
Array!(Tuple!(K, "key", V, "value")) keyValuePairs()
Undocumented in source. Be warned that the author may not have intended to support it.
keys
Array!K keys()
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length()

Returns number of key-value pairs

opAssign
auto ref opAssign(typeof(this) rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
auto ref opBinary(U rhs)
Undocumented in source.
opIndex
Nullable!V opIndex(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
Nullable!V opIndexAssign(U val, K key)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexOpAssign
Nullable!V opIndexOpAssign(U val, K key)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexUnary
Nullable!V opIndexUnary(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
popFront
void popFront()
Undocumented in source. Be warned that the author may not have intended to support it.
rehash
void rehash()
Undocumented in source.
remove
void remove(K key)
Undocumented in source.
setAllocator
bool setAllocator(RCIAllocator allocator)

Constructs the ouroboros allocator from allocator if the ouroboros

size
size_t size()

Returns number of buckets

values
Array!V values()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixin templates

setSharedAllocator
mixintemplate setSharedAllocator(RCISharedAllocator allocator)
Undocumented in source.

Meta