The notion of a template is that it is abstract and can be applied to future instances. Is there a word that means an instantiated template?
I'd prefer something that specifically refers to the fact that it came from a template, so not "instance".
Answer
Per Stroustrup:
specialization : a class or function generated from a template by supplying a complete set of template arguments
So a templated sorting function, for example, can be said to be specialized for double, or what have you.
Template instantiation is the process of creating a specialization from a template.
Comments
Post a Comment