Array

Undocumented in source.

Constructors

this
this(U[] stuff)
Undocumented in source.
this
this(Stuff stuff)
Undocumented in source.

Postblit

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

Members

Aliases

ConstRange
alias ConstRange = Range!(const T)
Undocumented in source.

Functions

erase
void erase(size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
erase
void erase(size_t index, size_t count)

Erases a contiguous range of items from the array.

eraseFrontOfRange
void eraseFrontOfRange(RangeT r)
Undocumented in source.
insert
size_t insert(T value, size_t index)
Undocumented in source.
insertBack
size_t insertBack(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
inout(T) opIndex(size_t index)

Provides [] sytax for the array.

opSlice
auto opSlice()
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
auto opSlice()
Undocumented in source. Be warned that the author may not have intended to support it.
reserve
void reserve(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

capacity
size_t capacity [@property getter]

Returns the number of items the array could store, given its current buffer allocation.

dup
Array dup [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length [@property getter]

Returns the number of elements currently stored in the array.

Structs

Range
struct Range(ElementT)
Undocumented in source.

Meta