[libcxx-commits] [libcxx] [libc++][ranges] Ensure range access CPOs are provided in `<iterator>` (PR #151745)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Aug 5 00:46:42 PDT 2025
================
@@ -460,7 +454,7 @@ namespace std {
// [ranges.syn]
# include <compare>
# include <initializer_list>
-# include <iterator>
+# include <iterator> // some CPOs are provided in <iterator> per [range.access.general]
----------------
philnik777 wrote:
I don't think we should rely on that. Is there any good reason to remove the includes above?
https://github.com/llvm/llvm-project/pull/151745
More information about the libcxx-commits
mailing list