[#BloombergLP-bdlat_ChoiceFunctions-bdlat_choiceSelectionId]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_ChoiceFunctions.adoc[bdlat&lowbar;ChoiceFunctions]::bdlat&lowbar;choiceSelectionId
:relfileprefix: ../../
:mrdocs:

Default customization&hyphen;point implementation of `selectionId`&period;

== Synopsis

Declared in `&lt;bdlat&lowbar;choicefunctions&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
int
bdlat&lowbar;choiceSelectionId(TYPE const& object);
----

== Return Value

id of the current selection, or `k&lowbar;UNDEFINED&lowbar;SELECTION&lowbar;ID` if none

== Parameters

[cols="1,4"]
|===
| Name| Description
| *object*
| choice object to query
|===


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