[#BSLSTL_VARIANT_INDEX_OF] = BSLSTL_VARIANT_INDEX_OF :mrdocs: Compute the index of the first alternative identical to `TYPE`. == Synopsis Declared in `<bslstl_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- #define BSLSTL_VARIANT_INDEX_OF(TYPE, VARIANT) ---- == Description This component‐private macro expands to the index of the first alternative in the specified `VARIANT` that is identical to the specified `TYPE`, or `bsl::variant_npos` if no such alternative exists. == Parameters [cols="1,4"] |=== | Name| Description | *TYPE* | candidate alternative type | *VARIANT* | variant specialization to search |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#