[libcxx-commits] [libcxx] [libc++][ranges] Ensure range access CPOs are provided in `<iterator>` (PR #151745)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Aug 5 02:23:00 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]
----------------
frederick-vs-ja wrote:
Reverted. I originally thought that it could be better to avoid seemingly awkward duplicated inclusion.
https://github.com/llvm/llvm-project/pull/151745
More information about the libcxx-commits
mailing list