template error instantiating

Maxim Fomin maxim at maxim-fomin.ru
Sat Nov 17 12:50:42 PST 2012


On Saturday, 17 November 2012 at 20:44:05 UTC, Manfred Nowak 
wrote:
> Maxim Fomin wrote:
>
>> solves compilation errors
>
> From the docs:
> | If a template has exactly one member in it, and the name of
> | that member is the same as the template name, that member
> | is assumed to be referred to in a template instantiation
>
> It seems that the problem is located in this definition.
>
> -manfred

How eponymous templates are related to the issue?


More information about the Digitalmars-d-learn mailing list