phobos ~master (2024-10-03T07:50:27Z)
Dub
Repo
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)