carb_min#
Defined in carb/Defines.h
-
template<class T>
constexpr const T &carb_min(
) noexcept(noexcept(left < right))# Picks the minimum of two values.
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.