Provide an output iterator that calls an object of the (template parameter) type FUNCTION. If FUNCTION is a functor, de‐referencing this iterator and assigning to the result (of dereferencing) will call the operator() of the functor with the assigned value as a parameter. Similarly, if FUNCTION if a function pointer type, assigning to the dereferenced iterator will call the function supplied at construction with the assigned value as a parameter.
Synopsis
Declared in <bdlb_functionoutputiterator.h>
template<class FUNCTION>
class FunctionOutputIterator;
Type Aliases
Name |
Description |
Unused difference type required by |
|
Tag identifying this type as an output iterator. |
|
Unused pointer type required by |
|
Unused reference type required by |
|
Unused value type required by |
Member Functions
Name |
Description |
|
Constructors |
Return an object that can appear on the left‐hand side of an assignment from |
Non-Member Functions
Name |
Description |
Do nothing and return specified |
|
Do nothing and return specified |
Created with MrDocs