phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
DynamicArray.this
nxt
container
dynamic_array
DynamicArray
Construct from element
value
.
this
(U value)
struct
DynamicArray
(T, Allocator = GCAllocator, Capacity = size_t)
@
trusted
this
(
U
)
(
U
value
)
if
(
isElementAssignable
!
U
)
if
(
!
is
(immutable
T
== immutable
bool
) &&
(
is
(
Capacity
==
ulong
) ||
is
(
Capacity
==
uint
)
)
&&
isAllocator
!
Allocator
)
this
(U[] values)
this
(U[n] values)
this
(R values)
enum
_growthP
;
enum
_growthQ
;
Meta
Source
See Implementation
nxt
container
dynamic_array
DynamicArray
aliases
opDollar
put
constructors
this
destructors
~this
enums
isElementAssignable
functions
clear
insertBack
insertBackMove
moveAt
opEquals
opIndex
opIndexAssign
opOpAssign
opSlice
opSliceAssign
popAt
popBack
popBackN
reserve
takeBack
takeFront
toHash
toString
manifest constants
_growthP
_growthQ
postblits
this(this)
properties
back
capacity
front
length
ptr
static functions
withElementsOfRange_untested
Construct from element value.