We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89241f0 commit 9af158dCopy full SHA for 9af158d
1 file changed
source/mir/container/binaryheap.d
@@ -424,6 +424,7 @@ BinaryHeap!(less, Store) heapify(alias less = "a < b", Store)(Store s,
424
/// Heap operations for random-access ranges
425
template HeapOps(alias less, Range)
426
{
427
+ import std.range.primitives : hasSwappableElements, hasAssignableElements;
428
import mir.functional;
429
import std.algorithm.mutation : swapAt;
430
0 commit comments