phobos-next v0.3.9 (2020-08-07T21:50:30Z)
Home
Dub
Repo
DynamicArray.this
nxt
dynamic_array
DynamicArray
Construct from the
n
number of element(s) in the static array
values
.
this
(T value)
this
(U value)
this
(U[] values)
this
(U[n] values)
this
(R values)
struct
DynamicArray
(T, alias Allocator = null, CapacityType = size_t)
@
safe
pragma(
inline
) @
trusted
this
(
R
)
(
scope
R
values
)
if
(
isElementAssignable
!(
ElementType
!
R
) &&
!
isArray
!
R
)
if
(
!
is
(
Unqual
!
T
==
bool
) &&
(
is
(
CapacityType
==
ulong
) ||
is
(
CapacityType
==
uint
)
)
)
Meta
Source
See Implementation
nxt
dynamic_array
DynamicArray
aliases
put
constructors
this
destructors
~this
enums
isElementAssignable
functions
back
backPop
capacity
clear
dup
empty
front
frontPop
insertBack
insertBack1
insertBackMove
length
moveAt
opEquals
opIndex
opIndexAssign
opOpAssign
opSlice
opSliceAssign
popAt
popBack
popBackN
ptr
reserve
toHash
toString
postblits
this(this)
static functions
emplaceWithCopiedElements
emplaceWithMovedElements
withCapacity
withElementsOfRange_untested
withLength
withLengthElementValue
Construct from the n number of element(s) in the static array values.