[#BloombergLP-bslstl-Variant_VTableId-01]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Variant_VTableId-05.adoc[Variant&lowbar;VTableId]&lt;t&lowbar;RET, t&lowbar;VISITOR, t&lowbar;VARIANT, xref:BloombergLP/bslmf/IntegerSequence.adoc[bslmf::IntegerSequence&lt;std::size&lowbar;t, t&lowbar;INDICES&period;&period;&period;&gt;]&gt;
:relfileprefix: ../../
:mrdocs:

In order to allow for perfect forwarding, both t&lowbar;VISITOR and t&lowbar;VARIANT must be of reference type&period; If they are not, something went wrong&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;RET,
    class t&lowbar;VISITOR,
    class t&lowbar;VARIANT,
    size&lowbar;t t&lowbar;INDICES&period;&period;&period;&gt;
struct xref:BloombergLP/bslstl/Variant_VTableId-05.adoc[Variant&lowbar;VTableId]&lt;t&lowbar;RET, t&lowbar;VISITOR, t&lowbar;VARIANT, xref:BloombergLP/bslmf/IntegerSequence.adoc[bslmf::IntegerSequence&lt;std::size&lowbar;t, t&lowbar;INDICES&period;&period;&period;&gt;]&gt;;
----

== Type Aliases

[cols="1"]
|===
| Name
| xref:BloombergLP/bslstl/Variant_VTableId-01/FuncPtr.adoc[`FuncPtr`] 
|===


== Static Data Members

[cols="1"]
|===
| Name
| xref:BloombergLP/bslstl/Variant_VTableId-01/s_mapId.adoc[`s&lowbar;mapId`] 
|===



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