[#bsl-variant_size-05]
= xref:bsl.adoc[bsl]::xref:bsl/variant_size-07.adoc[variant&lowbar;size]&lt;t&lowbar;BSL&lowbar;VARIANT volatile&gt;
:relfileprefix: ../
:mrdocs:

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;BSL&lowbar;VARIANT&gt;
struct xref:bsl/variant_size-07.adoc[variant&lowbar;size]&lt;t&lowbar;BSL&lowbar;VARIANT volatile&gt;
    : xref:bsl/variant_size-07.adoc[variant&lowbar;size&lt;t&lowbar;BSL&lowbar;VARIANT&gt;]
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:bsl/variant_size-07.adoc[variant&lowbar;size&lt;t&lowbar;BSL&lowbar;VARIANT&gt;]`
| This metafunction calculates the number of alternatives in the (possibly cv&hyphen;qualified) `bsl&colon;&colon;variant` type of (template parameter) `t&lowbar;BSL&lowbar;VARIANT`&period; The primary template is not defined&period;
|===


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