Overload candidate selecting alternative t_INDEX for source type t_SRC.
Synopsis
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;
Return Value
integral constant encoding the selected alternative index
Parameters
Name |
Description |
source |
(unused) value used only to select this overload |
Created with MrDocs