[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:19:47 PST 2026
================
@@ -89,7 +89,9 @@ class reverse_iterator
#ifndef _LIBCPP_ABI_NO_REVERSE_ITERATOR_SECOND_MEMBER
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 reverse_iterator() : __t_(), current() {}
- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 explicit reverse_iterator(_Iter __x) : __t_(__x), current(__x) {}
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 explicit reverse_iterator(_Iter __x)
+ _NOEXCEPT_(is_nothrow_constructible<_Iter, _Iter&>::value)
----------------
frederick-vs-ja wrote:
This is a drive-by change explicitly mentioned in the PR description. I'll drop it if you think it shouldn't be in this PR.
https://github.com/llvm/llvm-project/pull/173637
More information about the libcxx-commits
mailing list