BinaryHeap.dup

Returns a duplicate of the heap. The dup method is available only if the underlying store supports it.

struct BinaryHeap(Store, alias less = "a < b")
@property
static if(is(typeof( (Store s)(Store.init)) == Store))
dup
()
if ()

Meta