Locally Instantiated Templates
Kagamin
spam at here.lot
Mon Oct 26 05:34:45 PDT 2009
Ellery Newcomer Wrote:
> Does local instantiation just mean the template instance is located in
> the stack (heap?) frame, and otherwise is conceptually the same as any
> other template instance? e.g. same scoping rules?
templates have no storage. Template is just a semantical construct for parameterizing types. Template members (variables, functions, types) may have storage.
More information about the Digitalmars-d
mailing list