On 05/09/2013 09:43 PM, Andrei Alexandrescu wrote:
On 5/9/13 3:39 PM, Rob T wrote:
So, if I understand correctly, auto ref for templates will end up doing
exactly the same thing as auto ref for non-template functions? That
would be perfect, otherwise it'll be terribly confusing.

There would be clear restrictions on non-template functions, e.g. a
non-template cannot return auto ref.

Andrei


Returning auto ref is fine as long as no auto ref argument is returned.

Reply via email to