TVariant::IndexOfType

Lookup the index of a type in the template parameter pack at compile time.