[#bsl-variant_alternative_t]
= xref:bsl.adoc[bsl]::variant&lowbar;alternative&lowbar;t
:relfileprefix: ../
:mrdocs:

`variant&lowbar;alternative&lowbar;t` is an alias to the return type of the `variant&lowbar;alternative` metafunction&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;
using variant&lowbar;alternative&lowbar;t = variant&lowbar;alternative&lt;t&lowbar;INDEX, t&lowbar;TYPE&gt;::type;
----


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