void init of out variables

Nicholas Wilson via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 19 18:19:15 PDT 2017


On Saturday, 19 August 2017 at 23:05:26 UTC, Walter Bright wrote:
> On 8/18/2017 11:24 PM, Nicholas Wilson wrote:
>> Hmm, I could, but ref doesn't signal intention like out does.
>
> True. Please file an enhancement request.

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

I also realised that ref won't error on reads from the parameter, 
whereas out does.



More information about the Digitalmars-d mailing list