Constructors

Synopses

Declared in <bdlb_functionoutputiterator.h>

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.

explicit
FunctionOutputIterator(FUNCTION const& function);

Created with MrDocs