[#BloombergLP-bdlar-SimpleTypeRef-manipulate-07]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/SimpleTypeRef.adoc[SimpleTypeRef]::manipulate
:relfileprefix: ../../../
:mrdocs:

Invoke the specified `manipulator` on the value held by this object&period;

== Synopsis

Declared in `&lt;bdlar&lowbar;simpletyperef&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;MANIPULATOR&gt;
int
manipulate(t&lowbar;MANIPULATOR& manipulator) const;
----

== Description

The supplied `manipulator` must be an object callable with a value of any simple type as if it had the following signature&colon; &grave; int manipulator(VALUE &ast;value)&semi; &grave; Return the value from the invocation of `manipulator`&period;

== Return Value

value from the invocation of `manipulator`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *manipulator*
| callable invoked on the held value
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
