The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
BinaryHeap.empty
std
container
binaryheap
BinaryHeap
Returns
true
if the heap is empty,
false
otherwise.
struct
BinaryHeap
(Store, alias less = "a < b")
@
property
bool
empty
(
)
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
Returns true if the heap is empty, false otherwise.