Fully dynamic d by opDotExp overloading

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Apr 20 07:26:33 PDT 2009


Andrei Alexandrescu wrote:
> Steven Schveighoffer wrote:
>> Haven't used D2 for much stuff, but does this work?  I remember 
>> reading something about partial IFTI, so if you have
>>
>> opDotExp(string fname, T...) (T args){}
>>
>> and you call
>>
>> opDotExp!("b")(c, d, e)
>>
>> Does it implicitly define T?
>>
>> -Steve
> 
> It should, but there's a bug related to variadics (right now it only 
> works with non-variadics); I submitted it recently.

Found it. Walter seems to get genuinely interested in opDot so vote up, 
fixing this bug may become important starting 2.030 :o).

http://d.puremagic.com/issues/show_bug.cgi?id=2615


Andrei



More information about the Digitalmars-d mailing list