The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
RedBlackTree.length
std
container
rbtree
RedBlackTree
Returns the number of elements in the container.
Complexity:
O
(1)
.
class
RedBlackTree
(T, alias less = "a < b", bool allowDuplicates = false)
@
property
const
size_t
length
(
)
if
(
is
(
typeof
(
binaryFun
!
less
(
T.init
,
T.init
)))
)
Meta
Source
See Implementation
std
container
rbtree
RedBlackTree
aliases
Elem
Range
insert
constructors
this
functions
back
clear
equalRange
front
lowerBound
opBinaryRight
opEquals
opSlice
remove
removeAny
removeBack
removeFront
removeKey
stableInsert
toHash
toString
upperBound
properties
dup
empty
length
Suggestion Box / Bug Report
Returns the number of elements in the container.
Complexity: O(1).