]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libphobos/src/std/container/binaryheap.d
Merge remote-tracking branch 'origin/master' into devel/c++-contracts
[thirdparty/gcc.git] / libphobos / src / std / container / binaryheap.d
index e763357a012f50cb7eb92df74e4b7c24fd223098..723630c89e250104be6308da6dfd75f8dcd039c7 100644 (file)
@@ -89,6 +89,8 @@ if (isRandomAccessRange!(Store) || isRandomAccessRange!(typeof(Store.init[])))
         Store _store;
         size_t _length;
     }
+    // TODO: migrate to use the SafeRefCounted. The problem is that some member
+    // functions here become @system with a naive switch.
     private RefCounted!(Data, RefCountedAutoInitialize.no) _payload;
     // Comparison predicate
     private alias comp = binaryFun!(less);