2#pragma GCC diagnostic push
3#pragma GCC diagnostic ignored "-Wnonnull"
7namespace z ::core::types {
11template <
typename T,
typename Arg>
12no operator<(
const T &,
const Arg &);
13template <
typename T,
typename Arg>
14no operator>(
const T &,
const Arg &);
15template <
typename T,
typename Arg>
16no operator==(
const T &,
const Arg &);
19template <
typename T,
typename Arg = T>
21 enum { value = !std::is_same<decltype(std::declval<T>() < std::declval<Arg>()),
no>::value };
25template <
typename T,
typename Arg = T>
27 enum { value = !std::is_same<decltype(std::declval<T>() > std::declval<Arg>()),
no>::value };
31template <
typename T,
typename Arg = T>
33 enum { value = !std::is_same<decltype(std::declval<T>() == std::declval<Arg>()),
no>::value };
38#pragma GCC diagnostic pop
A template to enable specializations for an object if operator== exists on it.
Definition typeChecks.hpp:32
A template to enable specializations for an object if operator> exists on it.
Definition typeChecks.hpp:26
A template to enable specializations for an object if operator< exists on it.
Definition typeChecks.hpp:20
Internal class to do template check if method exists.
Definition typeChecks.hpp:9