Create an iterator that invokes the specified function.
Declared in <bdlb_functionoutputiterator.h>
explicit
FunctionOutputIterator(FUNCTION const& function);
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.
| Name | Description |
|---|---|
| function | functor or function pointer invoked on assignment |