•Realize that when we write a class template we may not know the types that will be used by the client.
•Therefore, we recommend using type dependencies only once within the class's formal argument list.
•Also, make sure to handle the use of both built-in and pointer types.
•And, when we implement our own user defined types, realize the importance of overloading
operators in a
consistent fashion -- so that if template classes are used with those new data types, the operators used by
the member
functions will behave as expected and will
not cause syntax errors when used...