The formatting context used to evaluate printf-style format strings.
Declared in <fmt/printf.h>
template<typename Char>
class basic_printf_context;
| Name | Description |
|---|---|
char_type | The character type used by this context. |
| Name | Description |
|---|---|
Unnamed enum | Flags describing the argument types this context supports. |
| Name | Description |
|---|---|
basic_printf_context [constructor] | Constructs a printf_context object. References to the arguments are stored in the context object so make sure they have appropriate lifetimes. |
advance_to | No-op; printf output is not resumed mid-format. |
arg | Returns the argument with the specified id. |
locale | Returns the locale associated with this context. printf formatting is always unlocalized. |
out | Returns the output iterator that the formatted result is written to. |