phobos ~master (2024-10-03T07:50:27Z)
Dub
Repo
TotalContainer.length
std
container
TotalContainer
Returns the number of elements in the container.
Complexity:
O
(log(n))
.
size_t
length
[@property getter]
struct
TotalContainer
(T)
@
property
size_t
length
(
)
size_t
length
[@property setter]
Meta
Source
See Implementation
std
container
TotalContainer
aliases
KeyType
KeyTypes
ValueType
functions
clear
equalRange
insert
insertAfter
insertBack
insertBefore
insertFront
linearInsert
linearRemove
lowerBound
moveAt
moveBack
moveFront
opBinary
opBinaryRight
opIndex
opIndexAssign
opIndexOpAssign
opIndexUnary
opOpAssign
opSlice
remove
removeAny
removeBack
removeFront
removeKey
replace
reserve
stableInsert
stableInsertAfter
stableInsertBack
stableInsertBefore
stableInsertFront
stableLinearInsert
stableLinearRemove
stableRemove
stableRemoveAny
stableRemoveBack
stableRemoveFront
stableReplace
upperBound
properties
back
capacity
dup
empty
front
length
structs
Range
Returns the number of elements in the container.
Complexity: O(log(n)).