ocean v6.2.0 (2021-12-09T10:56:40Z)
Home
Dub
Repo
Heap.push
ocean
util
container
more
Heap
Heap
Inserts all elements in the given array into the heap.
void
push
(T t)
void
push
(T[] array)
struct
Heap
(T, alias Compare = minHeapCompare!(T), alias Move = defaultHeapSwap!(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 all elements in the given array into the heap.