Overload candidate selecting alternative t_INDEX for source type t_SRC.
Declared in <bslstl_variant.h>
template<class t_DEST = t_HEAD>
static
bsl::integral_constant<size_t, t_INDEX>
candidate(t_HEAD source)
requires Variant_ConvertsWithoutNarrowing<t_DEST, t_SRC>::value;
integral constant encoding the selected alternative index
| Name | Description |
|---|---|
| source | (unused) value used only to select this overload |