www.gibmonks.com

Main Page




Previous Page
Next Page

[Page 766 (continued)]

Answers to Self-Review Exercises

14.1

a) True. b) False. Keywords typename and class in this context also allow for a type parameter of a built-in type. c) True. d) False. Template parameter names among function templates need not be unique. e) True. f) False. It could be a nontemplate function. g) False. Each class-template specialization will have its own copy of the static data member.

14.2

a) function-template specializations, class-template specializations. b) template, angle brackets (< and >). c) overloading. d) parameterized. e) binary scope resolution. f) file.


Previous Page
Next Page