SmallArray.SmallArray

Constructors

this
this(typeof(null) )
this(V[] array)
this(SmallArray array)
this(SmallArray!(T, n) array)
this(Range array)

Constructor

Members

Aliases

opBinary
alias opBinary(string op : "~") = concat
opOpAssign
alias opOpAssign(string op : "~") = append
put
alias put = append
serdeKeysProxy
alias serdeKeysProxy = T

Functions

append
typeof(this) append(T elem)
append
typeof(this) append(V[] array)
concat
SmallArray concat(V[] array)
empty
bool empty()
length
size_t length()
opAssign
typeof(this) opAssign(typeof(null) )
typeof(this) opAssign(V[] array)
typeof(this) opAssign(SmallArray rhs)
typeof(this) opAssign(SmallArray!(T, n) rhs)

= operator

opCmp
auto opCmp(SmallArray!(T, rhsMaxLength) array)
auto opCmp(V[] array)

Comparisons operator overloads

opEquals
bool opEquals(SmallArray rhs)
bool opEquals(V[] array)
bool opEquals(SmallArray!(T, rhsMaxLength) array)

Comparisons operator overloads

opIndex
inout(T)[] opIndex()

Returns an scope common array.

opIndex
inout(T) opIndex(size_t index)
toHash
size_t toHash()

Hash implementation

trustedAppend
void trustedAppend(T elem)
trustedAssign
void trustedAssign(V[] array)

Variables

_data
T[maxLength] _data;
Undocumented in source.
_length
uint _length;
Undocumented in source.

Meta