28 #ifndef VARIANT_RELATIONAL_HPP
29 #define VARIANT_RELATIONAL_HPP
31 #include <type_traits>
37 template<
class ... Args>
38 using and_ = std::is_same<
39 std::integer_sequence<bool, Args::value ... >,
40 std::integer_sequence<bool, std::conditional_t< true, bool, Args >(
true) ... > >;
43 using not_ = std::integral_constant<bool, !T::value>;
45 template<
class ... Args>
46 using or_ = not_<std::is_same<
47 std::integer_sequence<bool, Args::value ... >,
48 std::integer_sequence<bool, std::conditional_t< true, bool, Args >(
false) ... > > >;
51 #endif //VARIANT_RELATIONAL_HPP
Definition: relational.hpp:33