Would like to see ref and out required for function calls

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri Sep 7 07:59:01 PDT 2012


On 9/7/12 4:55 PM, Andrej Mitrovic wrote:
> On 9/7/12, Andrei Alexandrescu<SeeWebsiteForEmail at erdani.org>  wrote:
>> Actually the darndest thing is that C# has retired the syntax in 5.0 (it
>> used to be required up until 4.0). Apparently users complained it was
>> too unsightly.
>
> If you like implicit ref then why did you choose to use pointers when
> implementing std.getopt?

At the time ref variadics weren't implemented. I should also add I 
joined D after ref was there. I don't have strong feelings one way or 
another.

Andrei


More information about the Digitalmars-d mailing list