Strip 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 volatile>;
This partial specialization of variant_alternative strips a top-level volatile qualifier from t_TYPE before forwarding to the primary metafunction, and re-applies volatile to the resulting type.
| Name | Description |
|---|---|
type | The alternative type at t_INDEX, with volatile re-applied. |