holdsAlternative<T> abstract method

bool holdsAlternative<T>()

Checks if the variant currently holds the specified type alternative.

Implementation

bool holdsAlternative<T>();