[libcxx-commits] [libcxx] [libc++] P3016R6: Resolve inconsistencies in begin/end for `valarray` and braced initializer lists (PR #173637)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jan 3 08:26:51 PST 2026


================
@@ -368,11 +371,22 @@ template <class T> unspecified2 end(const valarray<T>& v);
 #  include <cmath>
 #  include <version>
 
+#  if _LIBCPP_STD_VER >= 14
+#    include <__iterator/reverse_iterator.h>
+#  endif
+
----------------
philnik777 wrote:

Please don't include here based on version.

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


More information about the libcxx-commits mailing list