Invoke the specified manipulator on the referred non‐null value.
Synopsis
Declared in <bdlar_nullablevalueref.h>
template<class t_MANIPULATOR>
int
manipulateValue(t_MANIPULATOR& manipulator) const;
Description
The supplied manipulator must be a callable type that can be called as if it had the following signature: ` int manipulator(VALUE *refOrValue); ` Return the value from the invocation of manipulator. The behavior is undefined if the referred object is null.
Return Value
value from the invocation of manipulator
Parameters
Name |
Description |
manipulator |
callable invoked on the non‐null value |
Created with MrDocs