16 #ifndef OPENKALMAN_GREATER_HPP 17 #define OPENKALMAN_GREATER_HPP 28 template<
typename T =
void>
31 #if defined(__cpp_static_call_operator) and __cplusplus >= 202002L 32 static constexpr
bool operator()(
const T& lhs,
const T& rhs)
34 constexpr
bool operator()(
const T& lhs,
const T& rhs)
const 48 template<
typename Lhs,
typename Rhs>
49 #if defined(__cpp_static_call_operator) and __cplusplus >= 202002L 50 static constexpr
bool operator()(
const Lhs& lhs,
const Rhs& rhs)
52 constexpr
bool operator()(
const Lhs& lhs,
const Rhs& rhs)
const 56 if constexpr (is_arithmetic_v<Lhs> and is_arithmetic_v<Rhs>)
57 return cmp_greater(lhs, rhs);
65 #endif //OPENKALMAN_GREATER_HPP A generalization of std::greater in which the arguments may be of different types.
Definition: greater.hpp:29
Definition: tuple_reverse.hpp:103
The root namespace for OpenKalman.
Definition: basics.hpp:34
Definitions relating to the availability of c++ language features.
Global definitions for OpenKalman.