Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 455 Bytes

16.1.md

File metadata and controls

6 lines (4 loc) · 455 Bytes

Instantiating a template is the process in which

  1. the compiler uses the argument(s) of the call to deduce the template parameter(s),
  2. the compiler uses the deduced template parameter(s) to create a specific version (new "instance") of the template using the actual argument(s) in place of the corresponding template parameter(s).

Instantiation of a template is the compiler-generated specific version (with the actual argument) of the template.