ocean v5.1.3 (2019-10-14T07:52:28Z)
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
opCatAssign
remove
functions
capacity
clear
clone
peek
pop
push
removeAll
removeAt
size
Inserts the given element into the heap.