[#BloombergLP-bslstl-Variant_CVQualAlt]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::Variant&lowbar;CVQualAlt
:relfileprefix: ../../
:mrdocs:

This component&hyphen;private metafunction calculates the alternative type at index (template parameter) `t&lowbar;INDEX` in (template parameter) `t&lowbar;VARIANT`, where the cv&hyphen; and ref&hyphen;qualifiers of `t&lowbar;VARIANT` are added to the alternative type&period; This metafunction is used to calculate the return type of `bsl&colon;&colon;visit`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;VARIANT,
    size&lowbar;t t&lowbar;INDEX&gt;
struct Variant&lowbar;CVQualAlt;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstl/Variant_CVQualAlt/CVAlt.adoc[`CVAlt`] 
| Alternative at `t&lowbar;INDEX` with combined cv&hyphen;qualifiers
| xref:BloombergLP/bslstl/Variant_CVQualAlt/type.adoc[`type`] 
| Alternative at `t&lowbar;INDEX` with cv&sol;ref qualifiers from `t&lowbar;VARIANT`&period;
|===



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