RcOrderedDictionary

An ordered refcounted dictionary.

Constructors

this
this(inout(typeof(this)) rhs)

Copy-constructor

Destructor

~this
~this()

Destructor

Members

Functions

opApply
int opApply(int delegate(size_t i, ref TKey key, ref TValue value) dg)

Dict-iterator

opApply
int opApply(int delegate(ref TKey key, ref TValue value) dg)

Dict-iterator

opApply
int opApply(int delegate(ref TValue value) dg)

Dict-iterator

opAssign
void opAssign(inout(typeof(this)) rhs)

Assignment operator

opBinaryRight
inout(TValue)* opBinaryRight(TKey key)

Gets whether the given key is present in the object.

opIndex
TValue opIndex(TKey key)

Gets the given entry in the object.

opIndexAssign
void opIndexAssign(TValue value, TKey key)

Assigns an element of the dictionary.

remove
void remove(TKey key)

Removes the given key from the object.

Properties

length
size_t length [@property getter]

Length of the node.

Static functions

make
typeof(this) make()

Makes a new ordered dictionary.

Meta