August 22, 2010 Re: template deduction | ||||
---|---|---|---|---|
| ||||
> 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
|
Copyright © 1999-2021 by the D Language Foundation