[libcxx-commits] [PATCH] D154913: [libc++][PSTL] Fix double-move in std::transform_reduce
H. Vetinari via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jul 11 02:06:50 PDT 2023
h-vetinari added a comment.
Typo
================
Comment at: libcxx/test/std/algorithms/numeric.ops/transform.reduce/pstl.transform_reduce.unary.pass.cpp:47
+ [check = std::string("Banane")](ValueT i, ValueT j) {
+ assert(check == "Banane"); // ensure that no bouble-moves happen
+ return i + j;
----------------
================
Comment at: libcxx/test/std/algorithms/numeric.ops/transform.reduce/pstl.transform_reduce.unary.pass.cpp:51
+ [check = std::string("Banane")](ValueT i) {
+ assert(check == "Banane"); // ensure that no bouble-moves happen
+ return i + 1;
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154913/new/
https://reviews.llvm.org/D154913
More information about the libcxx-commits
mailing list