Templated struct doesn't need the parameterized type in return

bearophile bearophileHUGS at lycos.com
Tue Mar 8 13:05:28 PST 2011


David Nadlinger:

> and because of this, it would rather 
> be a special case *not* to allow referring to Foo using just that name.

Right. On the other hand the current straightforward design leads to some bugs too, the give bad error messages:
http://d.puremagic.com/issues/show_bug.cgi?id=3950

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list