[#BSLSTL_VARIANT_INDEX_OF]
= BSLSTL&lowbar;VARIANT&lowbar;INDEX&lowbar;OF
:mrdocs:

This component&hyphen;private macro expands to the index of the first alternative in the specified `VARIANT` that is identical to the specified `TYPE`, or `bsl&colon;&colon;variant&lowbar;npos` if no such alternative exists&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define BSLSTL&lowbar;VARIANT&lowbar;INDEX&lowbar;OF(TYPE, VARIANT)

----


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