Open jjwilke opened 7 years ago
Will this be allowed for both functors and lambdas?
This one is tricky. It has the same problem we discussed for the return value of handle.reduce(...)
, and for roughy the same reasons. If we want to think of assigning a return value in terms of std::unique_ptr<>
-like semantics, rather than a hint to reuse storage of the left-hand side, this is much easier. I'm starting to lean that way anyway for other reasons.
This should correspond to the return type of the callable.