Strip const volatile from t_TYPE before computing the alternative type.
Declared in <bslstl_variant.h>
template<
std::size_t t_INDEX,
class t_TYPE>
struct variant_alternative<t_INDEX, t_TYPE const volatile>;
This partial specialization of variant_alternative strips top-level const and volatile qualifiers from t_TYPE before forwarding to the primary metafunction, and re-applies both qualifiers to the resulting type.
| Name | Description |
|---|---|
type | The alternative type at t_INDEX, with const volatile re-applied. |