[libcxx-commits] [PATCH] D150831: [libc++] Implement ranges::ends_with
Amirreza Ashouri via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Aug 19 07:16:39 PDT 2023
AMP999 added inline comments.
================
Comment at: libcxx/include/__algorithm/ranges_ends_with.h:158
+ std::move(ranges::end(__range1)),
+ std::move(ranges::begin(__range2)),
+ std::move(ranges::end(__range2)),
----------------
I don't think these `std::move`s are needed since `ranges::begin()` already return prvalue.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150831/new/
https://reviews.llvm.org/D150831
More information about the libcxx-commits
mailing list