The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
RedBlackTree.removeAny
std
container
rbtree
RedBlackTree
Remove an element from the container and return its value.
Complexity:
O
(log(n))
class
RedBlackTree
(T, alias less = "a < b", bool allowDuplicates = false)
Elem
removeAny
(
)
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
Remove an element from the container and return its value.
Complexity: O(log(n))