mir-algorithm — Libmir Archive
← Libmir Archive
Dlang.org
BinaryHeap.acquire
mir
container
binaryheap
BinaryHeap
Takes ownership of a store. After this, manipulating
s
may make the heap work incorrectly.
struct
BinaryHeap
(alias less = "a < b", Store)
void
acquire
(
Store
s
,
size_t
initialSize
=
size_t.max
)
if
(
isRandomAccessRange
!
Store
||
isRandomAccessRange
!(
typeof
(
Store.init
[]))
)
mir
container
binaryheap
BinaryHeap
aliases
popFront
constructors
this
functions
acquire
assume
conditionalInsert
conditionalSwap
insert
removeAny
removeFront
replaceFront
properties
capacity
empty
front
length
variables
_length
_store
Takes ownership of a store. After this, manipulating s may make the heap work incorrectly.