cpp/utility/variant/variant alternative

Provides compile-time indexed access to the types of the alternatives of the possibly cv-qualified variant, combining cv-qualifications of the variant (if any) with the cv-qualifications of the alternative.

Formally, @2@ meets the requirements with a member typedef  equal to the type of the alternative with index @3@ meets the requirements with a member typedef  that names, respectively,, , and