Invoke the specified manipulator on the value held by this object.
Synopsis
Declared in <bdlar_simpletyperef.h>
template<class t_MANIPULATOR>
int
manipulate(t_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: ` int manipulator(VALUE *value); ` Return the value from the invocation of manipulator.
Return Value
value from the invocation of manipulator
Parameters
Name |
Description |
manipulator |
callable invoked on the held value |
Created with MrDocs