tmpl/max1.hpp
The following code example is taken from the book
Object-Oriented Programming in C++
by Nicolai M. Josuttis, Wiley, 2002
© Copyright
Nicolai M. Josuttis 2002
template <typename T>
const T& max(const T& a, const T& b)
{
return a > b ? a : b;
}