[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


================
@@ -786,6 +788,9 @@ public:
   typedef _Tp value_type;
   typedef _Tp __result_type;
 
+  typedef _Tp* iterator;
+  typedef const _Tp* const_iterator;
----------------
philnik777 wrote:

Let's switch to using declarations here. Also, do we want to use `__wrap_iter` here?

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


More information about the libcxx-commits mailing list