Template alias parameters to local variables

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Sep 14 05:03:20 PDT 2014


On Sunday, 14 September 2014 at 09:29:16 UTC, Kagamin wrote:
> Doesn't this cause infinite recursion?

No, because the inner templates are instantiated with different 
first template parameters. Even if all template parameters were 
the same, it would only be a runtime recursion.


More information about the Digitalmars-d-learn mailing list