A format context for use by formatter::format() partial specialization.
Declared in <bslfmt_format_context.h>
template<
class t_OUT,
class t_CHAR>
class basic_format_context;
It provides access to the output iterator for writing the formatted value and access to all formatting arguments.
| Name | Description |
|---|---|
char_type | This typedef is an alias for the character type t_CHAR. |
formatter_type | Alias for bsl::formatter specialized on t_TYPE and t_CHAR. |
iterator | This typedef is an alias for the output iterator type t_OUT. |
| Name | Description |
|---|---|
advance_to | Update the contained iterator to that specified by it. |
arg | Return the formatting argument at zero-based index id. |
out | Return (by value) the contained output iterator. |
| Name | Description |
|---|---|
BloombergLP::bslfmt::Format_ContextFactory | Utility factory for constructing basic_format_context objects. |