[#BloombergLP-bdlb-FunctionOutputIterator-2constructor-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/FunctionOutputIterator.adoc[FunctionOutputIterator]::FunctionOutputIterator :relfileprefix: ../../../ :mrdocs: 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlb/FunctionOutputIterator/2constructor-04.adoc[FunctionOutputIterator](); ---- [.small]#xref:BloombergLP/bdlb/FunctionOutputIterator/2constructor-04.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlb/FunctionOutputIterator/2constructor-0d.adoc[FunctionOutputIterator](FUNCTION const& function); ---- [.small]#xref:BloombergLP/bdlb/FunctionOutputIterator/2constructor-0d.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#