carb_min#
Defined in carb/MinMax.h
-
template<class T>
constexpr const T &carb_min(
) noexcept(noexcept(left < right))# Returns the smaller value.
Returns the first argument when the arguments are equivalent.
Same as
std::minbut implemented without using theminkeyword as Windows.h can sometimes#defineit.- Parameters:
left – The first value to compare.
right – The second value to compare.
- Returns:
leftifleftis less thanright, otherwiseright, even if the values are equal.