Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Fill in the blanks in each of the following: i. Templates enable us to specif

ID: 3910252 • Letter: 1

Question

1. Fill in the blanks in each of the following: i. Templates enable us to specify, with a single code segment, an entire range of related functions called .. . . . . . . . . . . . ..or an entire range of related classes called. . . . . . . . . . .. ii. All function-template definitions begin with the keyword .. . . . . . .. followed by a list of template parameters to the function template enclosed in ii. The member functions of a template class that were only declared inside their class are required when they are defined outside the class. to be preceded with iv. Class templates also are called v. The.. . . . . . . operator is used with a class-template name to tie each member function definition .. . .. .. . .. . . . . . types. . . . to the class template's scope.

Explanation / Answer

i. function templates, class templates: related functions re called function template specifications and related classes are called class-template specifications.

ii. template, angle brackets.

iii. template <...> prefix

iv. parameterized.

v. scope resolution operator ::