[libcxx-commits] [PATCH] D122173: [libc++][ranges] Implement ranges::transform
Konstantin Varlamov via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Apr 1 21:29:54 PDT 2022
var-const accepted this revision.
var-const added inline comments.
================
Comment at: libcxx/include/algorithm:104
+ constexpr ranges::unary_transform_result<I, O>
+ transform(I first1, S last1, O result, F op, Proj proj = {}); // since C++20
+ template<input_range R, weakly_incrementable O, copy_constructible F,
----------------
philnik wrote:
> var-const wrote:
> > Nit: `s/first1/first/` (same for `last1`).
> This is consistent with the standard synopsis.
> This is consistent with the standard synopsis.
Interesting. I presume it's a typo in the Standard, but sure, let's be consistent.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122173/new/
https://reviews.llvm.org/D122173
More information about the libcxx-commits
mailing list