Function max2

Find maximum of two values

T max2(T) (
  T x,
  T y
) nothrow;

Example

assert(max2(2, 1) == 2);