[#BloombergLP-bdlar-ChoiceRef-manipulateSelection] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/ChoiceRef.adoc[ChoiceRef]::manipulateSelection :relfileprefix: ../../../ :mrdocs: Invoke the specified `manipulator` on the address of the (modifiable) selection, supplying `manipulator` with the corresponding selection information structure. The supplied `manipulator` must be a callable type that can be called as if it had the following signature: ` template <class t_INFO> int manipulator(SELECTION *refOrValue, const t_INFO& info); ` Return the value returned from the invocation of `manipulator`. The behavior is undefined unless `selectionId() != ‐1`. == Synopsis Declared in `<bdlar_choiceref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename t_MANIPULATOR> int manipulateSelection(t_MANIPULATOR& manipulator) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#