Template Function iox::algorithm::max(const T&)
Defined in File algorithm.hpp
Function Documentation
-
template<typename T>
constexpr T iox::algorithm::max(const T &left) noexcept Returns the maximum gained with operator<() of an arbitrary amount of variables of the same type. Helper function which is required as generic recursive template endpoint.
- Parameters:
T – type which implements operator<()
left – [in] value which should be compared
- Returns:
returns the given argument left