[libcxx-commits] [PATCH] D61170: Use std::move in numeric algorithms

Marshall Clow via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed May 1 17:51:49 PDT 2019


mclow.lists added a comment.

In D61170#1481575 <https://reviews.llvm.org/D61170#1481575>, @EricWF wrote:

> I don't understand P0616 at all.
>
> It's expecting users to provide `operator+(T&&, T const&)` and `operator-(T const&, T&&)` that move from the first and second arguments respectively.
>  Who writes that kind of thing?


I refer you to http://eel.is/c++draft/string.op.plus


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

https://reviews.llvm.org/D61170





More information about the libcxx-commits mailing list