phobos-next ~master (2022-05-18T09:58:38.2169964)
Dub
Repo
DynamicArray.length
nxt
dynamic_array
DynamicArray
Get length.
size_t
length
[@property getter]
struct
DynamicArray
(T, Allocator = Mallocator, Capacity = size_t)
pragma(
inline
) @
property
const scope
size_t
length
(
)
if
(
!
is
(
Unqual
!
T
==
bool
) &&
(
is
(
Capacity
==
ulong
) ||
is
(
Capacity
==
uint
)
)
&&
isAllocator
!
Allocator
)
size_t
length
[@property setter]
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
Get length.