Type-erased output-iterator interface used by format contexts.
Declared in <bslfmt_format_context.h>
template<class t_VALUE>
class Format_ContextOutputIteratorRef;
This class provides a type-erased interface to an output iterator that it holds indirectly via a reference to a Format_ContextOutputIteratorImpl type. It is solely for private use by other components of the bslfmt package and should not be used directly.
| Name | Description |
|---|---|
difference_type | This typedef is an alias for void (type-erased output iterator). |
iterator_category | This typedef is an alias for bsl::output_iterator_tag. |
pointer | This typedef is an alias for void (type-erased output iterator). |
reference | This typedef is an alias for void (type-erased output iterator). |
value_type | This typedef is an alias for the character type t_CHAR. |
| Name | Description |
|---|---|
Format_ContextOutputIteratorRef [constructor] | Create an instance referring to the specified base iterator. |
operator= | Write the specified character through the referenced output iterator. |
operator* | Return a reference to *this. |
operator++ | Do nothing. This method is provided to enable this type to satisfy the requirements of [output.iterators]. |