BloombergLP::bdlar::bdlat_choiceSelectionId

Return the id of the current selection if the selection is defined, and -1 otherwise.

Synopsis

Declared in <bdlar_choiceref.h>

int
bdlat_choiceSelectionId(ChoiceConstRef const& ref);