memutils ~master (2021-01-03T18:41:41Z)
Dub
Repo
RBTree.length
memutils
rbtree
RBTree
Returns the number of elements in the container.
Complexity:
O
(1)
.
struct
RBTree
(T, alias less = "a < b", bool allowDuplicates = true, ALLOC = ThreadMem, bool NOGC_ = false)
@
property
const
size_t
length
(
)
if
(
is
(
typeof
(
binaryFun
!
less
(
T.init
,
T.init
)))
)
Meta
Source
See Implementation
memutils
rbtree
RBTree
aliases
Elem
_less
constructors
this
destructors
~this
functions
_defaultInitialize
back
clear
front
getValuesAt
insert
lowerBoundRange
opBinaryRight
opEquals
opSlice
remove
removeAny
removeBack
removeFront
upperBoundRange
postblits
this(this)
properties
empty
length
Returns the number of elements in the container.
Complexity: O(1).