Invoke the specified manipulator on the address of the value stored in the specified "nullable" object.
Synopsis
Declared in <bdlat_nullablevaluefunctions.h>
template<
class TYPE,
class MANIPULATOR>
int
manipulateValue(
TYPE* object,
MANIPULATOR& manipulator);
Description
The supplied manipulator must be a callable type that can be called as if it had the following signature: ` int manipulator(VALUE_TYPE *value); ` Return the value from the invocation of manipulator. The behavior is undefined unless object does not contain a null value.
Return Value
result of invoking manipulator
Parameters
Name |
Description |
object |
"nullable" object whose held value is manipulated |
manipulator |
functor applied to the address of the held value |
Created with MrDocs