[#BloombergLP-bdlat_ChoiceFunctions-manipulateSelection] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_ChoiceFunctions.adoc[bdlat_ChoiceFunctions]::manipulateSelection :relfileprefix: ../../ :mrdocs: Invoke the specified `manipulator` on the address of the (modifiable) selection of the specified `object`, 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_TYPE *selection, const t_INFO& info); ` Return the value returned from the invocation of `manipulator`. The behavior is undefined unless `k_UNDEFINED_SELECTION_ID != selectionId(*object)`. == Synopsis Declared in `<bdlat_choicefunctions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TYPE, class MANIPULATOR> int manipulateSelection( TYPE* object, MANIPULATOR& manipulator); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#