[libcxx-commits] [PATCH] D122982: [libc++] Implement ranges::copy{, _n, _if, _backward}

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 5 04:27:52 PDT 2022


philnik added inline comments.


================
Comment at: libcxx/include/__algorithm/copy_backward.h:29
+pair<_Iter1, _Iter2> __copy_backward_impl(_Iter1 __first, _Sent1 __last, _Iter2 __result) {
+  auto __ret = std::__copy(reverse_iterator<_Sent1>(__last),
+                           reverse_iterator<_Iter1>(__first),
----------------
var-const wrote:
> Optional: `make_reverse_iterator` to omit the type?
This isn't available in C++03 and C++11.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122982/new/

https://reviews.llvm.org/D122982



More information about the libcxx-commits mailing list