If a C++ template method is called with three different type parameters, how many versions of the method will be generated by the compiler? code example
Example: c++ template function
template <class T>
void swap(T & lhs, T & rhs)
{
T tmp = lhs;
lhs = rhs;
rhs = tmp;
}