On 4/10/12 11:25 AM, Walter Bright wrote:
On 4/10/2012 3:59 AM, Steve Schveighoffer wrote:
If I understand correctly (and I very well might not), the idea is
that auto ref is *always* ref, so only one function is generated.
No. Two functions are generated.
That is correct. In the proposal I sketched last night, for templates
it's possible to only generate one function and simply loosen the
requirement that the caller has an lvalue.
Andrei
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta