https://issues.dlang.org/show_bug.cgi?id=23747

--- Comment #2 from Mike S <michael.s...@tufts.edu> ---
Ah noted, that is perhaps my mistake then. Looking at the specification again
with this in mind, I now see how 'auto ref' is deducing the 'refness' of a
function.

This means 'auto ref' snd 'ref auto' have different meanings then to be clear? 

- 'auto ref' deducing if it is possible to return by reference, and 'ref auto'
explicitly indicating return by reference, and deduce the type (e.g. auto may
be a double if possible return values are 1.0 and 1)

--

Reply via email to