AssocList

An implementation of an associative array useable at compile-time. Shameless copy of association lists from Lisp.

Constructors

this
this(AssocEntry!(K, V)[] entries)
Undocumented in source.

Members

Functions

get
T get(K key, T defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
keys
const(K)[] keys()
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
bool opBinaryRight(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
const(V) opIndex(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
void opIndexAssign(V value, K key)
Undocumented in source. Be warned that the author may not have intended to support it.
toAA
V[K] toAA()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

entries
AssocEntry!(K, V)[] entries;
Undocumented in source.

Meta