I forgot to mention, in terms of this statement I made:

I can't remember right now what the reasoning was for 'const ref' not to take rvalues in the first place. I think it was that you could escape the reference,
but this isn't true anymore with DIP25 right?

I think someone brought this up about a weeks ago, and this
was Andrei's response:

Knee-jerk response: if no "return" attribute on a function it should be safeto bind rvalues to ref parameters. Of course that's impractical as a default
so explicit "auto ref" would be needed. -- Andrei

What's impractical?

  Bit

Reply via email to