phobos-next v0.4.6 (2022-11-25T12:27:21Z)
Home
Dub
Repo
DynamicArray.this
nxt
container
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, Allocator = Mallocator, Capacity = size_t)
@
trusted
this
(
R
)
(
scope
R
values
)
if
(
isElementAssignable
!(
ElementType
!
R
) &&
!
isArray
!
R
)
if
(
!
is
(immutable
T
== immutable
bool
) &&
(
is
(
Capacity
==
ulong
) ||
is
(
Capacity
==
uint
)
)
&&
isAllocator
!
Allocator
)
Meta
Source
See Implementation
nxt
container
dynamic_array
DynamicArray
aliases
opDollar
put
constructors
this
destructors
~this
enums
isElementAssignable
functions
clear
empty
insertBack
insertBackMove
moveAt
opEquals
opIndex
opIndexAssign
opOpAssign
opSlice
opSliceAssign
popAt
popBack
popBackN
ptr
reserve
takeBack
takeFront
toHash
toString
manifest constants
_growthP
_growthQ
postblits
this(this)
properties
back
capacity
dup
front
length
static functions
emplaceWithCopiedElements
emplaceWithMovedElements
withCapacity
withElements
withElementsOfRange_untested
withLength
withLengthElementValue
Construct from the n number of element(s) in the static array values.