📜  变体保持类型 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:51.846000             🧑  作者: Mango

代码示例1
template
struct variant_member;

template
struct variant_member> 
  : public std::disjunction...> {};
  
// Using as: variant_member::value