phobos-next ~master (2022-05-18T09:58:38.2169964)
Dub
Repo
DynamicArray.this
nxt
dynamic_array
DynamicArray
Construct from uncopyable element
value
.
this
(T value)
struct
DynamicArray
(T, Allocator = Mallocator, Capacity = size_t)
pragma(
inline
) @
trusted
this
()
(
T
value
)
if
(
!__traits(
isCopyable
,
T
)
)
if
(
!
is
(
Unqual
!
T
==
bool
) &&
(
is
(
Capacity
==
ulong
) ||
is
(
Capacity
==
uint
)
)
&&
isAllocator
!
Allocator
)
this
(U value)
this
(U[] values)
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 uncopyable element value.