Template Struct EqHelper

Struct Documentation

template<typename T>
struct EqHelper

Public Types

template<typename U>
using is_same_sign = std::integral_constant<bool, std::is_signed<T>::value == std::is_signed<U>::value>

Public Static Functions

template<typename U>
static inline std::enable_if<std::is_arithmetic<U>::value && is_same_sign<U>::value, void>::type equal(const Message *m, const U &other, bool &result)
template<typename U>
static inline std::enable_if<std::is_arithmetic<U>::value && !is_same_sign<U>::value && std::is_signed<U>::value, void>::type equal(const Message *m, const U &other, bool &result)
template<typename U>
static inline std::enable_if<std::is_arithmetic<U>::value && !is_same_sign<U>::value && !std::is_signed<U>::value, void>::type equal(const Message *m, const U &other, bool &result)
template<typename U>
static inline std::enable_if<!std::is_arithmetic<U>::value, void>::type equal(const Message*, const U&, bool &result)