ocean v6.2.0 (2021-12-09T10:56:40Z)
Home
Dub
Repo
Heap.push
ocean
util
container
more
Heap
Heap
Inserts the given element into the heap.
void
push
(T t)
struct
Heap
(T, alias Compare = minHeapCompare!(T), alias Move = defaultHeapSwap!(T))
void
push
(
T
t
)
void
push
(T[] array)
Meta
Source
See Implementation
ocean
util
container
more
Heap
Heap
aliases
remove
functions
capacity
clear
clone
peek
pop
push
removeAll
removeAt
size
templates
opOpAssign
Inserts the given element into the heap.