#include <printf.h>
Public Types | |
using | iterator = OutputIt |
using | format_specs = typename base::format_specs |
Public Types inherited from arg_formatter_base< OutputIt, Char > | |
using | iterator = OutputIt |
using | char_type = Char |
using | format_specs = basic_format_specs< Char > |
Private Types | |
using | char_type = Char |
using | base = detail::arg_formatter_base< OutputIt, Char > |
using | context_type = basic_printf_context< OutputIt, Char > |
Private Member Functions | |
void | write_null_pointer (char) |
void | write_null_pointer (wchar_t) |
Private Attributes | |
context_type & | context_ |
Additional Inherited Members | |
Protected Member Functions inherited from arg_formatter_base< OutputIt, Char > | |
void | write (bool value) |
void | write (const Char *value) |
iterator | out () |
format_specs * | specs () |
The printf
argument formatter.
|
private |
|
private |
using format_specs = typename base::format_specs |
printf_arg_formatter | ( | iterator | iter, |
format_specs & | specs, | ||
context_type & | ctx | ||
) |
iterator operator() | ( | T | value | ) |
Definition at line 244 of file printf.h.
References detail::none, align::numeric, align::right, and detail::write().
iterator operator() | ( | const char * | value | ) |
Formats a null-terminated C string.
Definition at line 276 of file printf.h.
References detail::char_type, and detail::write().
iterator operator() | ( | const wchar_t * | value | ) |
Formats a null-terminated wide C string.
Definition at line 287 of file printf.h.
References detail::char_type, and detail::write().
iterator operator() | ( | basic_string_view< char_type > | value | ) |
iterator operator() | ( | const void * | value | ) |
iterator operator() | ( | typename basic_format_arg< context_type >::handle | handle | ) |
Formats an argument of a custom (user-defined) type.
Definition at line 312 of file printf.h.
References basic_format_arg< Context >::handle::format(), and basic_printf_context< OutputIt, Char >::parse_context().
|
private |
Definition at line 220 of file printf.h.
References detail::write().
|
private |
Definition at line 225 of file printf.h.
References detail::write().
|
private |