C++ code that is written with template parameters. In particular, allows data types and software algorithms to be easily changed.
// power() is templatized by P and T
template<int P, typename T>
T power(int a)
{
T val = 1;
for (int i=0; i<P; i++)
val = val * val;
return val;
}
template<int P, typename T>
T power(int a)
{
T val = 1;
for (int i=0; i<P; i++)
val = val * val;
return val;
}
by Zack63 November 15, 2010
Get the templatized mug.To take something, usually a piece of communication, and create a template out of it that allows one to replace elements of the communication to change the message. For a banner advertisement, for instance, swapping out headlines or images to communicate something else.
"The client really likes these accolades banners you did. Can we 'templatize' them to accommodate other accolades as they come up?"
by clubnobbie May 7, 2010
Get the templatize mug.Related Words
I find that subculture tediously templative; desperately clinging to prefab social masks because they’re terrified of the shrieking void within.
by @carrozo May 23, 2020
Get the Templative mug.