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

This class provides a type&hyphen;erased interface to an output iterator that it holds indirectly via a reference to a `Format&lowbar;ContextOutputIteratorImpl` type&period; It is solely for private use by other components of the `bslfmt` package and should not be used directly&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;VALUE&gt;
class Format&lowbar;ContextOutputIteratorRef;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslfmt/Format_ContextOutputIteratorRef/difference_type.adoc[`difference&lowbar;type`] 
| This `typedef` is an alias for `void` (type&hyphen;erased output iterator)&period;
| xref:BloombergLP/bslfmt/Format_ContextOutputIteratorRef/iterator_category.adoc[`iterator&lowbar;category`] 
| This `typedef` is an alias for `bsl&colon;&colon;output&lowbar;iterator&lowbar;tag`&period;
| xref:BloombergLP/bslfmt/Format_ContextOutputIteratorRef/pointer.adoc[`pointer`] 
| This `typedef` is an alias for `void` (type&hyphen;erased output iterator)&period;
| xref:BloombergLP/bslfmt/Format_ContextOutputIteratorRef/reference.adoc[`reference`] 
| This `typedef` is an alias for `void` (type&hyphen;erased output iterator)&period;
| xref:BloombergLP/bslfmt/Format_ContextOutputIteratorRef/value_type.adoc[`value&lowbar;type`] 
| This `typedef` is an alias for the character type `t&lowbar;CHAR`&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslfmt/Format_ContextOutputIteratorRef/2constructor.adoc[`Format&lowbar;ContextOutputIteratorRef`]         [.small]#[constructor]#
| Create an instance of this type&period; The specified `base` should be a pointer to an `Format&lowbar;ContextOutputIteratorImpl` type whose lifetime must outlive that of the constructed instance&period;
| xref:BloombergLP/bslfmt/Format_ContextOutputIteratorRef/operator_assign.adoc[`operator&equals;`] 
| Call `put(x)` on the referenced `Format&lowbar;ContextOutputIteratorImpl` instance&period; This will result in the value being written to the underlying iterator referenced by the `Format&lowbar;ContextOutputIteratorImpl` instance, and that underlying iterator then being incremented&period;
| xref:BloombergLP/bslfmt/Format_ContextOutputIteratorRef/operator_star.adoc[`operator&ast;`] 
| Return a reference to `&ast;this`&period; This method is provided to enable this type to satisfy the requirements of &lsqb;output&period;iterators&rsqb;&period;
| xref:BloombergLP/bslfmt/Format_ContextOutputIteratorRef/operator_inc-03.adoc[`operator&plus;&plus;`] 
| Do nothing&period; This method is provided to enable this type to satisfy the requirements of &lsqb;output&period;iterators&rsqb;&period;
|===



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