http://wiki.dlang.org/DIP25 has been preliminarily approved for 2.067

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 17 13:20:52 PST 2015


On 1/17/2015 4:40 AM, Manu via Digitalmars-d wrote:
> So when handling ref-related edge cases, do we now have to handle 3
> cases? not-ref, ref, and return-ref right?
> How do I know if some argument is return-ref? I guess we'll need
> another annoying __traits or something so I can pipe that information
> into my mixins that deal with ref mess...


Or have your mixins generate templates, which will infer 'return'.


More information about the Digitalmars-d mailing list