How would I write template or constexpr code such that match is true only if Ts contains an instance of A?
constexpr
match
Ts
A
template <std::uint32_t, int, int> struct A; template <typename... Ts> struct X { constexpr bool match = ???; };
Aucun commentaire:
Enregistrer un commentaire