BloombergLP::bdlat_NullableValueFunctions::manipulateValue

Invoke the specified manipulator on the address of the value stored in the specified "nullable" object. 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.

Synopsis

Declared in <bdlat_nullablevaluefunctions.h>

template<
    class TYPE,
    class MANIPULATOR>
int
manipulateValue(
    TYPE* object,
    MANIPULATOR& manipulator);