phobos-next ~master (2022-05-18T09:58:38.2169964)
Dub
Repo
DynamicArray.this
nxt
dynamic_array
DynamicArray
Construct from the element(s) of the dynamic array
values
.
this
(T value)
this
(U value)
this
(U[] values)
struct
DynamicArray
(T, Allocator = Mallocator, Capacity = size_t)
pragma(
inline
) @
trusted
this
(
U
)
(
U
[]
values
)
if
(
isElementAssignable
!(
U
)
)
if
(
!
is
(
Unqual
!
T
==
bool
) &&
(
is
(
Capacity
==
ulong
) ||
is
(
Capacity
==
uint
)
)
&&
isAllocator
!
Allocator
)
this
(U[n] values)
this
(R values)
enum
_growthP
;
enum
_growthQ
;
Meta
Source
See Implementation
nxt
dynamic_array
DynamicArray
aliases
opDollar
put
constructors
this
destructors
~this
enums
isElementAssignable
functions
backPop
clear
frontPop
insertBack
insertBackMove
moveAt
opEquals
opIndex
opIndexAssign
opOpAssign
opSlice
opSliceAssign
popAt
popBack
popBackN
ptr
reserve
toHash
toString
manifest constants
_growthP
_growthQ
postblits
this(this)
properties
back
capacity
dup
empty
front
length
static functions
emplaceWithCopiedElements
emplaceWithMovedElements
withCapacity
withElements
withElementsOfRange_untested
withLength
withLengthElementValue
Construct from the element(s) of the dynamic array values.