[#BloombergLP-bdlat_NullableValueFunctions-manipulateValue]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_NullableValueFunctions.adoc[bdlat&lowbar;NullableValueFunctions]::manipulateValue
:relfileprefix: ../../
:mrdocs:

Invoke the specified `manipulator` on the address of the value stored in the specified &quot;nullable&quot; `object`&period; The supplied `manipulator` must be a callable type that can be called as if it had the following signature&colon; &grave; int manipulator(VALUE&lowbar;TYPE &ast;value)&semi; &grave; Return the value from the invocation of `manipulator`&period; The behavior is undefined unless `object` does not contain a null value&period;

== Synopsis

Declared in `&lt;bdlat&lowbar;nullablevaluefunctions&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class TYPE,
    class MANIPULATOR&gt;
int
manipulateValue(
    TYPE* object,
    MANIPULATOR& manipulator);
----


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