The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
BinaryHeap.front
mir
container
binaryheap
BinaryHeap
Returns a front of the heap, which is the largest element according to
less
.
struct
BinaryHeap
(alias less = "a < b", Store)
@
property
ref return scope
ElementType
!
Store
front
(
)
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 a front of the heap, which is the largest element according to less.