[#BloombergLP-bdlat_ChoiceFunctions-bdlat_choiceMakeSelection-06d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_ChoiceFunctions.adoc[bdlat&lowbar;ChoiceFunctions]::bdlat&lowbar;choiceMakeSelection
:relfileprefix: ../../
:mrdocs:

`bdlat&lowbar;choiceMakeSelection` overloads

== Synopses

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

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
int
xref:BloombergLP/bdlat_ChoiceFunctions/bdlat_choiceMakeSelection-02.adoc[bdlat&lowbar;choiceMakeSelection](
    TYPE* object,
    int selectionId);
----

[.small]#xref:BloombergLP/bdlat_ChoiceFunctions/bdlat_choiceMakeSelection-02.adoc[_» more&period;&period;&period;_]#

Default customization&hyphen;point implementation of `makeSelection` by name&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
int
xref:BloombergLP/bdlat_ChoiceFunctions/bdlat_choiceMakeSelection-064.adoc[bdlat&lowbar;choiceMakeSelection](
    TYPE* object,
    char const* selectionName,
    int selectionNameLength);
----

[.small]#xref:BloombergLP/bdlat_ChoiceFunctions/bdlat_choiceMakeSelection-064.adoc[_» more&period;&period;&period;_]#

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *object*
| choice object to modify
| *selectionId*
| id of the selection to activate
| *selectionName*
| name of the selection to activate
| *selectionNameLength*
| length of `selectionName`
|===


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