#include <bdlb_functionoutputiterator.h>
List of all members.
Detailed Description
template<class FUNCTION>
class bdlb::FunctionOutputIterator< FUNCTION >
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.
See Component bdlb_functionoutputiterator
Member Typedef Documentation
Constructor & Destructor Documentation
Create a FunctionOutputIterator
object that, when an assignment is performed on the dereferenced object, will call a default constructed instance of the (template parameter) type FUNCTION
passing the assigned value as the argument. Note that if FUNCTION
is a function pointer type, then the default constructed FUNCTION
will be 0, and the behavior when assigning to a dereferenced iterator will be undefined.
Create FunctionOutputIterator
object that, when an assignment is performed on the dereferenced object, will call the specified function
passing the assigned value as the argument.
Create a FunctionOutputIterator
object that, when an assignment is performed on the dereferenced object, will call the same function or functor used by the specified rhs
object.
The documentation for this class was generated from the following file: