The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
RedBlackTree.front
std
container
rbtree
RedBlackTree
The front element in the container
Complexity:
O
(1)
class
RedBlackTree
(T, alias less = "a < b", bool allowDuplicates = false)
inout
inout
(
Elem
)
front
(
)
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
The front element in the container
Complexity: O(1)