Compute the index of the best conversion match for TYPE.

Synopsis

Declared in <bslstl_variant.h>

#define BSLSTL_VARIANT_CONVERT_INDEX_OF(TYPE, VARIANT)

Description

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.

Parameters

Name

Description

TYPE

source type being converted

VARIANT

variant specialization to search

Created with MrDocs