phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
DynamicArray.insertBack
nxt
container
dynamic_array
DynamicArray
Insert the elements
values
into the end of the array.
void
insertBack
(T value)
void
insertBack
(U[] values)
struct
DynamicArray
(T, Allocator = GCAllocator, Capacity = size_t)
scope @
trusted
void
insertBack
(
U
)
(
U
[]
values
...
)
if
(
isElementAssignable
!
U
&&
__traits(
isCopyable
,
U
)
)
if
(
!
is
(immutable
T
== immutable
bool
) &&
(
is
(
Capacity
==
ulong
) ||
is
(
Capacity
==
uint
)
)
&&
isAllocator
!
Allocator
)
void
insertBack
(R elements)
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
Insert the elements values into the end of the array.