ocean v6.2.0 (2021-12-09T10:56:40Z)
Home
Dub
Repo
Heap.clear
ocean
util
container
more
Heap
Heap
reset this heap, and use the provided host for value elements
void
clear
()
void
clear
(T[] host)
struct
Heap
(T, alias Compare = minHeapCompare!(T), alias Move = defaultHeapSwap!(T))
void
clear
(
T
[]
host
)
Meta
Source
See Implementation
ocean
util
container
more
Heap
Heap
aliases
remove
functions
capacity
clear
clone
peek
pop
push
removeAll
removeAt
size
templates
opOpAssign
reset this heap, and use the provided host for value elements