The following example is copied from the book A Tour of C++ (6.2.3 Template Argument Deduction).
template class Vector { public: Vector(