[#BloombergLP-bslstl-Variant_OverloadSetImp-07-candidate-01]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Variant_OverloadSetImp-07.adoc[Variant&lowbar;OverloadSetImp]::candidate
:relfileprefix: ../../../
:mrdocs:

Overload candidate selecting alternative `t&lowbar;INDEX` for source type `t&lowbar;SRC`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;variant&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;DEST = t&lowbar;HEAD&gt;
static
xref:bsl/integral_constant-02.adoc[bsl::integral&lowbar;constant&lt;size&lowbar;t, t&lowbar;INDEX&gt;]
candidate(t&lowbar;HEAD source)
requires Variant&lowbar;ConvertsWithoutNarrowing&lt;t&lowbar;DEST, t&lowbar;SRC&gt;&colon;&colon;value;
----

== Return Value

integral constant encoding the selected alternative index

== Parameters

[cols="1,4"]
|===
| Name| Description
| *source*
| (unused) value used only to select this overload
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
