[#BloombergLP-bdlb-Variant_TypeIndex]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::Variant&lowbar;TypeIndex
:relfileprefix: ../../
:mrdocs:

Component&hyphen;private meta&hyphen;function&period; Do not use&period; This meta&hyphen;function computes the index of the template parameter `TYPE` in the template parameter list of `TYPES`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class TYPES,
    class TYPE&gt;
struct Variant&lowbar;TypeIndex;
----

== Enums

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlb/Variant_TypeIndex/_04enum.adoc[`Unnamed enum`] 
| Compile&hyphen;time index of `TYPE` within `TYPES`, or 0 if not found&period;
|===



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