ocean ~v6.x.x (2022-01-14T16:08:36.1174149)
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.