The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
BinaryHeap.empty
mir
container
binaryheap
BinaryHeap
Returns
true
if the heap is empty,
false
otherwise.
struct
BinaryHeap
(alias less = "a < b", Store)
@
property
scope const
bool
empty
(
)
if
(
isRandomAccessRange
!
Store
||
isRandomAccessRange
!(
typeof
(
Store.init
[]))
)
Meta
Source
See Implementation
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
Returns true if the heap is empty, false otherwise.