aliasing templates

Steven Schveighoffer schveiguy at
Mon Jun 21 04:40:19 PDT 2010

On Fri, 18 Jun 2010 22:37:22 -0400, Mike Linford  
<mike.linford.reg at> wrote:

> I remember that if you alias a template, it is instantiated and is
> compiled into the object file/library. What I can't remember is where in
> the d spec this behavior is described. Can anyone help me out?

I'm not sure it's part of the spec, but if it is, it would be in the ABI  
section probably.

I'm pretty sure it's just an implementation detail of the compiler.


More information about the Digitalmars-d-learn mailing list