BloombergLP::bdlat_ChoiceFunctions::bdlat_choiceSelectionId

Default customization-point implementation of selectionId.

Synopsis

Declared in <bdlat_choicefunctions.h>

template<class TYPE>
int
bdlat_choiceSelectionId(TYPE const& object);

Return Value

id of the current selection, or k_UNDEFINED_SELECTION_ID if none

Parameters

NameDescription
objectchoice object to query