The Final(ize) Challenge

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon May 18 11:57:55 PDT 2009


Andrei Alexandrescu wrote:
> I don't think "out" is doable.

I take that back. It is doable. The code below prints "void function(out 
int _param_0)":

struct S
{
     void blah(out int) {}
}

void main()
{
     writeln(typeof(&S.blah).stringof);
}


Andrei



More information about the Digitalmars-d mailing list