BillyONeal added inline comments.
================
Comment at: include/numeric:245
for (; __first1 != __last1; ++__first1, (void) ++__first2)
__init = __b1(__init, __b2(*__first1, *__first2));
return __init;
----------------
It's arguable that this should be _VSTD::move(__init); I asked SG1 / LEWG about
that. (After all, if they're going to make inner_product do that this should
too)
Repository:
rL LLVM
https://reviews.llvm.org/D41372
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits