digitalmars.D.learn - aliasing templates
- Mike Linford (4/4) Jun 18 2010 I remember that if you alias a template, it is instantiated and is
- Steven Schveighoffer (6/9) Jun 21 2010 I'm not sure it's part of the spec, but if it is, it would be in the ABI...
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? -- Mike L.
Jun 18 2010
On Fri, 18 Jun 2010 22:37:22 -0400, Mike Linford <mike.linford.reg gmail.com> 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. -Steve
Jun 21 2010