[#BloombergLP-bslfmt-Format_ContextOutputIteratorImpl]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::Format&lowbar;ContextOutputIteratorImpl
:relfileprefix: ../../
:mrdocs:

Type&hyphen;erasing holder for a concrete output iterator&period;

== Synopsis

Declared in `&lt;bslfmt&lowbar;format&lowbar;context&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;CHAR,
    class t&lowbar;ITER&gt;
class Format&lowbar;ContextOutputIteratorImpl
    : public xref:BloombergLP/bslfmt/Format_ContextOutputIteratorBase.adoc[Format&lowbar;ContextOutputIteratorBase&lt;t&lowbar;CHAR&gt;]
----

== Description

This type holds a reference to an iterator, and is used to type&hyphen;erase output iterators as required by the `format&lowbar;context` and `wformat&lowbar;context` typedefs&period; It is solely for private use by other components of the `bslfmt` package and should not be used directly&period;

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:BloombergLP/bslfmt/Format_ContextOutputIteratorBase.adoc[Format&lowbar;ContextOutputIteratorBase&lt;t&lowbar;CHAR&gt;]`
| This component&hyphen;private type is an abstract base required to type&hyphen;erase output iterators as required by the `format&lowbar;context` and `wformat&lowbar;context` typedefs&period;
|===

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslfmt/Format_ContextOutputIteratorImpl/2constructor.adoc[`Format&lowbar;ContextOutputIteratorImpl`]         [.small]#[constructor]#
| Create an instance containing a reference to the specified `iter`&period;
| xref:BloombergLP/bslfmt/Format_ContextOutputIteratorImpl/put.adoc[`put`] 
| Write the specified `character` to the contained iterator and then increment this iterator&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
