[#bsl-variant_alternative-09]
= xref:bsl.adoc[bsl]::xref:bsl/variant_alternative-0c.adoc[variant&lowbar;alternative]&lt;t&lowbar;INDEX, t&lowbar;TYPE volatile&gt;
:relfileprefix: ../
:mrdocs:

Strip `volatile` from `t&lowbar;TYPE` before computing the alternative type&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;variant&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    std::size&lowbar;t t&lowbar;INDEX,
    class t&lowbar;TYPE&gt;
struct xref:bsl/variant_alternative-0c.adoc[variant&lowbar;alternative]&lt;t&lowbar;INDEX, t&lowbar;TYPE volatile&gt;;
----

== Description

This partial specialization of `variant&lowbar;alternative` strips a top&hyphen;level `volatile` qualifier from `t&lowbar;TYPE` before forwarding to the primary metafunction, and re&hyphen;applies `volatile` to the resulting `type`&period;

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:bsl/variant_alternative-09/type.adoc[`type`] 
| The alternative type at `t&lowbar;INDEX`, with `volatile` re&hyphen;applied&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
