array

D language counterpart to C++ std::array.

C++ reference:

Constructors

this
this(T[N] args)

Variadic constructor

Alias This

as_array

Members

Aliases

const_pointer
alias const_pointer = const(T)*
difference_type
alias difference_type = ptrdiff_t
length
alias length = size
opDollar
alias opDollar = length
pointer
alias pointer = T*
size_type
alias size_type = size_t
value_type
alias value_type = T

Functions

as_array
inout(T)[N] as_array()
as_array
inout(T)[N] as_array()
as_array
inout(T)[N] as_array()
at
inout(T) at(size_type i)
at
inout(T) at(size_type i)
at
inout(T) at(size_type i)
back
inout(T) back()
data
inout(T)* data()
data
inout(T)* data()
data
inout(T)* data()
empty
bool empty()
fill
void fill(const(T) value)
front
inout(T) front()
max_size
size_type max_size()
size
size_type size()

Meta