[#bsl-get-0e6]
= xref:bsl.adoc[bsl]::get
:relfileprefix: ../
:mrdocs:

See the first `get` overload above&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;TYPE,
    class t&lowbar;HEAD,
    class&period;&period;&period; t&lowbar;TAIL&gt;
t&lowbar;TYPE&&
get(xref:bsl/variant.adoc[variant&lt;t&lowbar;HEAD, t&lowbar;TAIL&period;&period;&period;&gt;]&& obj);
----

== Return Value

rvalue reference to the alternative of type `t&lowbar;TYPE`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *obj*
| variant whose alternative is accessed
|===


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