phobos ~master (2024-10-03T07:50:27Z)
Dub
Repo
BinaryHeap.assume
std
container
binaryheap
BinaryHeap
Takes ownership of a store assuming it already was organized as a heap.
struct
BinaryHeap
(Store, alias less = "a < b")
void
assume
(
Store
s
,
size_t
initialSize
=
size_t.max
)
if
(
isRandomAccessRange
!(
Store
) ||
isRandomAccessRange
!(
typeof
(
Store.init
[]))
)
Meta
Source
See Implementation
std
container
binaryheap
BinaryHeap
aliases
popFront
constructors
this
functions
acquire
assume
clear
conditionalInsert
conditionalSwap
insert
release
removeAny
removeFront
replaceFront
properties
capacity
dup
empty
front
length
Takes ownership of a store assuming it already was organized as a heap.