Skip to content

Glossary: C++ Beyond the Basics

Function template

Also written: function templates

A function with type parameters, starting `template <typename T>`. The compiler makes one version per type it is called with.

Where the book teaches it

Related terms

Template parameterInstantiationTemplate argument deduction