I have the following variant
std::variant<Type1, Type2<subType1>> myVariant;
Type2 is a template class, there are 2 possible sub types subType1, and subType2 are possible. Is the following supported?
std::variant<Type1, Type2<std::variant<subType1,subType2>> myVariant;
If yes, how would get<index>(myVariant) work with the inner variant?
edit: fix typo