On 6/2/15 2:28 PM, Namespace wrote:
On Tuesday, 2 June 2015 at 21:20:49 UTC, Andrei Alexandrescu wrote:
Yah, auto ref for templates is great. We only need to add auto ref for
non-templates with the semantics "like ref, except (a) accepts rvalues
on the caller side, (b) does not allow escaping the ref from the
function".
That would work once DIP 25 is fully implemented and if auto ref for
non-templates would not include return ref. Or am I missing something?

Sounds about right. -- Andrei

Reply via email to