[#BloombergLP-bdlat_ChoiceFunctions-makeSelection-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_ChoiceFunctions.adoc[bdlat_ChoiceFunctions]::makeSelection :relfileprefix: ../../ :mrdocs: `makeSelection` overloads == Synopses Declared in `<bdlat_choicefunctions.h>` Set the value of the specified `object` to be the default for the selection indicated by the specified `selectionId`. Return 0 on success, and non‐zero value otherwise (i.e., the selection is not found). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> int xref:BloombergLP/bdlat_ChoiceFunctions/makeSelection-0f.adoc[makeSelection]( TYPE* object, int selectionId); ---- [.small]#xref:BloombergLP/bdlat_ChoiceFunctions/makeSelection-0f.adoc[_» more..._]# Set the value of the specified `object` to be the default for the selection indicated by the specified `selectionName` of the specified `selectionNameLength`. Return 0 on success, and non‐zero value otherwise (i.e., the selection is not found). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> int xref:BloombergLP/bdlat_ChoiceFunctions/makeSelection-00.adoc[makeSelection]( TYPE* object, char const* selectionName, int selectionNameLength); ---- [.small]#xref:BloombergLP/bdlat_ChoiceFunctions/makeSelection-00.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#