5namespace CppClingo::Util {
11template <
class S,
class... L>
inline constexpr bool is_among_v = (std::is_same_v<S, L> || ...);
14template <
class S,
class... L>
inline constexpr bool matches = is_among_v<std::remove_cvref_t<S>, L...>;
constexpr bool matches
Check if the type S stripped from cv-qualifiers and references is among the types in L.
Definition type_traits.hh:14
constexpr bool is_among_v
Check if the type S is among the types in L.
Definition type_traits.hh:11