[libcxx-commits] [libcxx] [libcxx] P2278R4: implement `{basic_, }const_iterator`, and have `cbegin` et. al. return it (PR #99915)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Aug 29 12:46:27 PDT 2024
================
@@ -49,7 +57,7 @@ struct __reverse_copy {
requires indirectly_copyable<iterator_t<_Range>, _OutIter>
_LIBCPP_HIDE_FROM_ABI constexpr reverse_copy_result<borrowed_iterator_t<_Range>, _OutIter>
operator()(_Range&& __range, _OutIter __result) const {
- auto __ret = ranges::copy(std::__reverse_range(__range), std::move(__result));
+ auto __ret = ranges::copy(std::ranges::__reverse_range(__range), std::move(__result));
----------------
ldionne wrote:
```suggestion
auto __ret = ranges::copy(ranges::__reverse_range(__range), std::move(__result));
```
https://github.com/llvm/llvm-project/pull/99915
More information about the libcxx-commits
mailing list