digitalmars.D.learn - Re: template deduction
- bearophile <bearophileHUGS lycos.com> Aug 22 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
Aug 22 2010