Fully dynamic d by opDotExp overloading

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Apr 20 07:02:50 PDT 2009


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.

Andrei



More information about the Digitalmars-d mailing list