Luna::min

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

Returns the smaller of the given values.

Parameters

  • in a

    The first value to compare.

  • in b

    The second value to compare.

Return value

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