Invoke the specified manipulator on the value held by this object with the specified info.

Synopsis

Declared in <bdlar_simpletyperef.h>

template<
    class t_MANIPULATOR,
    class t_INFO>
int
manipulate(
    t_MANIPULATOR& manipulator,
    t_INFO const& info) 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, const t_INFO& info); ` 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

info

additional information passed to manipulator

Created with MrDocs