Function Dune::XT::Common::max

template<class L, class R>
int Dune::XT::Common::max(const L &left, const R &right)

returns the larger of two values of differing types, promoted to their common type

template<class T>
T Dune::XT::Common::max(const T &left, const T &right)

returns the larger of two values of the same type