Create an iterator that invokes the specified function.
Synopsis
Declared in <bdlb_functionoutputiterator.h>
explicit
FunctionOutputIterator(FUNCTION const& function);
Description
Create a FunctionOutputIterator object that, when an assignment is performed on the dereferenced object, will call the specified function passing the assigned value as the argument.
Parameters
Name |
Description |
function |
functor or function pointer invoked on assignment |
Created with MrDocs