The Final(ize) Challenge

Christian Kamm kamm-incasoftware at removethis.de
Mon May 18 11:08:32 PDT 2009


>> Unless there's been a change in D2 I have missed, I don't think you can
>> forward functions with ref/out or default arguments correctly unless you
>> parse certain mangles or stringofs.
>> 
>> 
> 
> Time for a bug report.
> 
> Andrei

See
http://d.puremagic.com/issues/show_bug.cgi?id=1818
or the related
http://d.puremagic.com/issues/show_bug.cgi?id=1411
http://d.puremagic.com/issues/show_bug.cgi?id=1424

Treating default arguments or storage classes with the current scheme is 
difficult though - they are not part of the type. While the concept of an 
'function argument description' including type, storage class, default 
argument and identifier (!) exists in the frontend, it is not exposed to the 
user - except through tuples in a fairly accidental and inconsistent manner.





More information about the Digitalmars-d mailing list