This component-private metafunction calculates the alternative type at index (template parameter) t_INDEX in (template parameter) t_VARIANT, where the cv- and ref-qualifiers of t_VARIANT are added to the alternative type. This metafunction is used to calculate the return type of bsl::visit.
Declared in <bslstl_variant.h>
template<
class t_VARIANT,
size_t t_INDEX>
struct Variant_CVQualAlt;
| Name | Description |
|---|---|
CVAlt | Alternative at t_INDEX with combined cv-qualifiers |
type | Alternative at t_INDEX with cv/ref qualifiers from t_VARIANT. |