Heap.capacity

Reserve enough space in this heap for value elements. The reserved space is truncated or extended as necessary. If the value is less than the number of elements already in the heap, throw an exception.

  1. size_t capacity()
  2. uint capacity(uint value)
    struct Heap(T, alias Compare = minHeapCompare!(T), alias Move = defaultHeapSwap!(T))
    uint
    capacity
    (
    uint value
    )

Meta