scaling of templates with alias argument

Stephen Waits steve at waits.net
Mon May 14 14:40:43 PDT 2007


Frank Benoit wrote:
> external-scope name of the argument. But each call or func makes a new
> instance of this template function.

The compiler should only instance each template once per type per 
compilation unit.  The linker should be able to remove duplicates across 
multiple compilation units.

--Steve



More information about the Digitalmars-d mailing list