
■ To be able to use the C++ template mechanism for
defining generic functions.
■ To be able to instantiate and use a template function.
■ To be able to use the C++ template mechanism for
defining generic data types.
■ To be able to instantiate and use a template class.
■ To be able to use the C++ exception handling
mechanism.
■ To be able to overload a C++ operator.
■ To be able to modify the case study program.
Templates, Operator
Overloading, and
Exceptions
Objectives
78828_CH16_DaleLab 5/22/09 7:48 AM Page 401