Array

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Constructors

this
this(size_t dim)

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

dim
alias dim = length
Undocumented in source.
opDollar
alias opDollar = length
Undocumented in source.

Functions

append
Array append(typeof(this)* a)
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(T ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
copy
Array!T* copy()
Undocumented in source. Be warned that the author may not have intended to support it.
find
size_t find(T ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
insert
void insert(size_t index, typeof(this)* a)
Undocumented in source. Be warned that the author may not have intended to support it.
insert
void insert(size_t index, T ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
inout(T) opIndex(size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
inout(T)[] opSlice()
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
inout(T)[] opSlice(size_t a, size_t b)
Undocumented in source. Be warned that the author may not have intended to support it.
pop
T pop()
Undocumented in source. Be warned that the author may not have intended to support it.
push
Array push(T ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
pushSlice
Array pushSlice(T[] a)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
reserve
void reserve(size_t nentries)
Undocumented in source. Be warned that the author may not have intended to support it.
setDim
void setDim(size_t newdim)
Undocumented in source. Be warned that the author may not have intended to support it.
shift
void shift(T ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
sort
typeof(this) sort()

Sort the elements of an array

sort
typeof(this) sort()

Ditto, but use opCmp by default

tdata
inout(T)* tdata()
Undocumented in source. Be warned that the author may not have intended to support it.
toChars
const(char)* toChars()

returns elements comma separated in []

toString
const(char)[] toString()

returns elements comma separated in []

zero
void zero()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

length
size_t length;
Undocumented in source.

Meta