Rosetta
|
#include <format.h>
Public Types | |
using | iterator = typename base::iterator |
using | format_specs = typename base::format_specs |
![]() | |
using | iterator = OutputIt |
using | char_type = Char |
using | format_specs = basic_format_specs< Char > |
Public Member Functions | |
arg_formatter (context_type &ctx, basic_format_parse_context< char_type > *parse_ctx=nullptr, format_specs *specs=nullptr, const Char *ptr=nullptr) | |
iterator | operator() (typename basic_format_arg< context_type >::handle handle) |
![]() | |
arg_formatter_base (OutputIt out, format_specs *s, locale_ref loc) | |
iterator | operator() (monostate) |
template<typename T , FMT_ENABLE_IF(is_integral< T >::value) > | |
FMT_INLINE iterator | operator() (T value) |
iterator | operator() (Char value) |
iterator | operator() (bool value) |
template<typename T , FMT_ENABLE_IF(std::is_floating_point< T >::value) > | |
iterator | operator() (T value) |
iterator | operator() (const Char *value) |
iterator | operator() (basic_string_view< Char > value) |
iterator | operator() (const void *value) |
Private Types | |
using | char_type = Char |
using | base = arg_formatter_base< OutputIt, Char > |
using | context_type = basic_format_context< OutputIt, Char > |
Private Attributes | |
context_type & | ctx_ |
basic_format_parse_context< char_type > * | parse_ctx_ |
const Char * | ptr_ |
Additional Inherited Members | |
![]() | |
iterator | out () |
format_specs * | specs () |
void | write (bool value) |
void | write (const Char *value) |
The default argument formatter.
|
private |
|
private |
|
private |
using detail::arg_formatter< OutputIt, Char >::format_specs = typename base::format_specs |
using detail::arg_formatter< OutputIt, Char >::iterator = typename base::iterator |
|
inlineexplicit |
\rst Constructs an argument formatter object. ctx* is a reference to the formatting context, specs* contains format specifier information for standard argument types. \endrst
|
inline |
Formats an argument of a user-defined type.
References advance_to(), basic_format_arg< Context >::handle::format(), and basic_format_context< OutputIt, Char >::out().
|
private |
|
private |
|
private |