BloombergLP::bdlar::bdlat_choiceAccessSelection

Invoke the specified accessor on the current selection of the specified ref. Return the value from the invocation of accessor.

Synopses

Declared in <bdlar_choiceref.h>

Invoke the specified accessor on the current selection of the specified ref. Return the value from the invocation of accessor.

template<class t_ACCESSOR>
int
bdlat_choiceAccessSelection(
    ChoiceConstRef const& ref,
    t_ACCESSOR& accessor);
» more...

Invoke the specified accessor on the current selection of the specified ref. Return the value from the invocation of accessor.

template<class t_ACCESSOR>
int
bdlat_choiceAccessSelection(
    ChoiceRef const& ref,
    t_ACCESSOR& accessor);
» more...