phobos-next v0.3.9 (2020-08-07T21:50:30Z)
Home
Dub
Repo
DynamicArray.dup
nxt
dynamic_array
DynamicArray
struct
DynamicArray
(T, alias Allocator = null, CapacityType = size_t)
@
safe
pragma(
inline
) @
property
const @
trusted
DynamicArray
!(
Unqual
!
T
,
Allocator
,
CapacityType
)
dup
()
(
)
if
(
!
is
(
Unqual
!
T
==
bool
) &&
(
is
(
CapacityType
==
ulong
) ||
is
(
CapacityType
==
uint
)
)
)
Return Value
Type:
DynamicArray
!(
Unqual
!
T
,
Allocator
,
CapacityType
)
shallow duplicate of
this
.
Meta
Source
See Implementation
nxt
dynamic_array
DynamicArray
aliases
put
constructors
this
destructors
~this
enums
isElementAssignable
functions
back
backPop
capacity
clear
dup
empty
front
frontPop
insertBack
insertBack1
insertBackMove
length
moveAt
opEquals
opIndex
opIndexAssign
opOpAssign
opSlice
opSliceAssign
popAt
popBack
popBackN
ptr
reserve
toHash
toString
postblits
this(this)
static functions
emplaceWithCopiedElements
emplaceWithMovedElements
withCapacity
withElementsOfRange_untested
withLength
withLengthElementValue