You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the variant_alternative is a struct type, “class" in the following definition should be changed to “struct”.
template<size_t I, class T> class variant_alternative<I, const T>;
Change “class” to “struct” as follows:
template<size_t I, class T> struct variant_alternative<I, const T>;