[#BloombergLP-bdlb-FunctionOutputIterator-2constructor-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/FunctionOutputIterator.adoc[FunctionOutputIterator]::FunctionOutputIterator :relfileprefix: ../../../ :mrdocs: Create an iterator that invokes the specified `function`. == Synopsis Declared in `<bdlb_functionoutputiterator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols="1,4"] |=== | Name| Description | *function* | functor or function pointer invoked on assignment |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#