[libcxx-commits] [libcxx] [libc++] P3016R6: Resolve inconsistencies in begin/end for `valarray` and braced initializer lists (PR #173637)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Jan 3 17:35:34 PST 2026
================
@@ -786,6 +788,9 @@ public:
typedef _Tp value_type;
typedef _Tp __result_type;
+ typedef _Tp* iterator;
+ typedef const _Tp* const_iterator;
----------------
frederick-vs-ja wrote:
`__wrap_iter` seems reasonable. But switching to use it looks like a larger design change to me (at least it requires an ABI option).
https://github.com/llvm/llvm-project/pull/173637
More information about the libcxx-commits
mailing list