Compute the alternative type at t_INDEX, with t_VARIANT's cv/ref-quals.
Declared in <bslstl_variant.h>
template<
class t_VARIANT,
size_t t_INDEX>
struct Variant_CVQualAlt;
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.
| Name | Description |
|---|---|
CVAlt | Alternative at t_INDEX with combined cv-qualifiers |
type | Alternative at t_INDEX with cv/ref qualifiers from t_VARIANT. |