template deduction

bearophile bearophileHUGS at lycos.com
Sun Aug 22 13:27:18 PDT 2010


> but it's not nice, maybe you can improve it, I have had to use a delegate because
> I have found a forward reference problem (I am not sure if it's worth for Bugzilla):

This was one problem, but maybe there are other ones:

struct Foo(alias f) {}
Foo!main baz;
void main() {}

I have added it to bug 4152.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list