Implementation of associative arrays.
AA version for debuggers, bump whenever changing the layout
Opaque AA wrapper
Determine number of entries in associative array.
Lookup *pkey in aa. Called only from implementation of (aa[key]) expressions when value is mutable.
AA* aa
| associative array opaque pointer |
TypeInfo_AssociativeArray ti
| TypeInfo for the associative array |
size_t valsz
| ignored |
void* pkey
| pointer to the key value |
Lookup *pkey in aa. Called only from implementation of require
AA* aa
| associative array opaque pointer |
TypeInfo_AssociativeArray ti
| TypeInfo for the associative array |
size_t valsz
| ignored |
void* pkey
| pointer to the key value |
bool found
| true if the value was found |
Lookup *pkey in aa. Called only from implementation of (aa[key]) expressions when value is not mutable.
AA aa
| associative array opaque pointer |
TypeInfo keyti
| TypeInfo for the key |
size_t valsz
| ignored |
void* pkey
| pointer to the key value |
Lookup *pkey in aa. Called only from implementation of (key in aa) expressions.
AA aa
| associative array opaque pointer |
TypeInfo keyti
| TypeInfo for the key |
void* pkey
| pointer to the key value |
Delete entry in AA, return true if it was present
Remove all elements from AA.
Rehash AA
Return a GC allocated array of all values
Return a GC allocated array of all keys
foreach opApply over all values
foreach opApply over all key/value pairs
Construct an associative array of type ti from keys and value
compares 2 AAs for equality
compute a hash
aaRange implements a ForwardRange
© 1999–2019 The D Language Foundation
Licensed under the Boost License 1.0.
https://dlang.org/phobos/rt_aaA.html