template cannot use local as parameter to non-global template

John Colvin john.loughran.colvin at gmail.com
Sun Mar 17 08:16:54 PDT 2013


On Sunday, 17 March 2013 at 12:54:24 UTC, simendsjo wrote:
> I get a lot of these errors, and they can be quite tricky to 
> get around and hurts my API.. Is this a temporary restriction 
> in DMD, or is it another reason why this doesn't work?
>
> Error: template instance template!local cannot use local 
> 'local' as parameter to non-global template innerTemplate(alias 
> T)

A small code example that generates that error would be very 
useful in helping you.


More information about the Digitalmars-d-learn mailing list