BinaryHeap.capacity

Returns the capacity of the heap, which is the length of the underlying store (if the store is a range) or the capacity of the underlying store (if the store is a container).

struct BinaryHeap(alias less = "a < b", Store)
@property scope const
size_t
capacity
()
if (
isRandomAccessRange!Store ||
isRandomAccessRange!(typeof(Store.init[]))
)

Meta