[libcxx-commits] [libcxx] [libcxx][test] Do not assume array::iterator is a pointer (PR #100603)

Christopher Di Bella via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 29 13:13:48 PDT 2024


================
@@ -183,8 +183,17 @@ struct NonConstComparable {
   friend constexpr bool operator==(NonConstComparable&, const NonConstComparable&) { return true; }
 };
 
+// note: this should really use `std::const_iterator`
----------------
cjdb wrote:

Can you open an issue and change this to a TODO instead please? AIUI we're only not doing that because `const_iterator` isn't around yet.

https://github.com/llvm/llvm-project/pull/100603


More information about the libcxx-commits mailing list