9
match
がTs
のインスタンスにA
が含まれている場合にのみ、テンプレートまたはconstexpr
コードを書くとどうなりますか?テンプレートパラメータとテンプレートタイプを一致させる
template <std::uint32_t, int, int>
struct A;
template <typename... Ts>
struct X
{
constexpr bool match = ???;
};
std :: disjunctionをご紹介いただきありがとうございます:) – Arunmu