BloombergLP::bdlar::bdlat_choiceManipulateSelection

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

Synopsis

Declared in <bdlar_choiceref.h>

template<class t_MANIPULATOR>
int
bdlat_choiceManipulateSelection(
    ChoiceRef* ref,
    t_MANIPULATOR& manipulator);

Return Value

value from the invocation of manipulator

Parameters

NameDescription
refchoice reference to manipulate
manipulatorcallable invoked on the current selection