6template<
typename... Ts>
9 explicit constexpr one_of(Ts... ts) : tup(ts...) {}
13 return std::apply([&](
const Ts& ... ts) {
return (... || (
t == ts)); }, o.tup);
17 std::tuple<Ts...> tup;
constexpr one_of(Ts... ts)
friend constexpr bool operator==(const T &t, const one_of &o)