phobos-next v0.3.8 (2020-08-04T23:11:21Z)
Home
Dub
Repo
DynamicArray.withElements
nxt
dynamic_array
DynamicArray
Undocumented in source. Be warned that the author may not have intended to support it.
struct
DynamicArray
(T, alias Allocator = null, CapacityType = size_t)
@
safe
pragma(
inline
) static @
trusted
static if
(
__traits(isCopyable, T) && !is(T == union)
)
typeof
(this)
withElements
()
(
const
T
[]
elements
)
if
(
!
is
(
Unqual
!
T
==
bool
) &&
(
is
(
CapacityType
==
ulong
) ||
is
(
CapacityType
==
uint
)
)
)
Meta
Source
See Implementation
nxt
dynamic_array
DynamicArray
aliases
opDollar
put
constructors
this
destructors
~this
enums
isElementAssignable
functions
back
backPop
clear
front
frontPop
insertBack
insertBack1
insertBackMove
moveAt
opEquals
opIndex
opIndexAssign
opOpAssign
opSlice
opSliceAssign
popAt
popBack
popBackN
ptr
reserve
toHash
toString
postblits
this(this)
properties
capacity
dup
empty
length
static functions
emplaceWithCopiedElements
emplaceWithMovedElements
withCapacity
withElements
withElementsOfRange_untested
withLength
withLengthElementValue