Take the 2-minute tour ×
English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. It's 100% free, no registration required.

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".

share|improve this question
    
"templated instance"? –  FumbleFingers Feb 22 '12 at 22:29
    
@FumbleFingers That's actually what I'm using right now, but it's a mouthful and was hoping for something shorter. –  chaiguy Feb 22 '12 at 22:31
1  
I don't really see why you can't just use instance or instantiation in most contexts, since presumably in most cases where the fact of it coming from a template is relevant, that will already be implicit. –  FumbleFingers Feb 22 '12 at 22:34
    
Why is the fact that it came from a template relevant? Is the created-from-template nature evident in the final result (and if so, is the intent to point that out)? Why not just call it whatever you'd have called it otherwise? –  Karl Knechtel Feb 23 '12 at 7:12
    
@KarlKnechtel No it's not necessarily immediately evident. I'm a programmer and am using it for a member variable name and thus need that name to convey as accurately as possible what information it is representing. –  chaiguy Feb 23 '12 at 15:22
show 3 more comments

closed as too localized by FumbleFingers, RiMMER, kiamlaluno, Mahnax, MετάEd Aug 30 '12 at 19:28

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 3 down vote accepted

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.

share|improve this answer
    
Referring specifically to the C++ use of the term, but still very fitting to know what term they use. Thanks! –  chaiguy Feb 23 '12 at 2:20
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.