Luna::max

template <typename _Ty>
constexpr const _Ty & max(const _Ty &a, const _Ty &b)

Returns the greater of the given values.

Parameters

  • in a

    The first value to compare.

  • in b

    The second value to compare.

Return value

Returns the greater of the given values. Returns a if values are equivalent.