Compute the index of the best conversion match for TYPE.
Declared in <bslstl_variant.h>
#define BSLSTL_VARIANT_CONVERT_INDEX_OF(TYPE, VARIANT)
This component-private macro expands to the index of the first alternative in the specified VARIANT that is a "unique" best match for conversion from std::declval<TYPE>(). See the documentation for Variant_ConvertIndex for more details.
| Name | Description |
|---|---|
| TYPE | source type being converted |
| VARIANT | variant specialization to search |