template parameter

noun
UK /ˈtɛmpleɪt pəˈræmɪtə/
US /ˈtɛmpleɪt pəˈræmɪtər/

A template parameter is a special placeholder in a computer pattern that gets filled in with a real value later.

In the code, the template parameter lets the same function work with different types of numbers.


OTHER MEANINGS

2. A value passed to a template to control how the template is expanded.

The template parameter set the array size to ten.

3. A named slot in a document template that is replaced with user data.

The mail merge filled each template parameter with a customer name.

4. In C++, a parameter declared in a template that can be a type, value, or template itself.

The class template parameter was a non-type integer constant.