BloombergLP::bdlat_ChoiceFunctions::bdlat_choiceHasSelection

Default customization-point implementation of hasSelection by id.

Synopsis

Declared in <bdlat_choicefunctions.h>

template<class TYPE>
bool
bdlat_choiceHasSelection(
    TYPE const& object,
    int selectionId);

Return Value

true if object has the selection, and false otherwise

Parameters

NameDescription
objectchoice object to query
selectionIdid of the selection to look up