#include <core.h>
Classes | |
struct | formatter_type |
Public Types | |
typedef Char | char_type |
typedef OutputIt | iterator |
Public Types inherited from internal::context_base< OutputIt, basic_format_context< OutputIt, Char >, Char > | |
typedef OutputIt | iterator |
Public Member Functions | |
basic_format_context (OutputIt out, basic_string_view< char_type > format_str, basic_format_args< basic_format_context > ctx_args, internal::locale_ref loc=internal::locale_ref()) | |
format_arg | next_arg () |
format_arg | get_arg (unsigned arg_id) |
format_arg | get_arg (basic_string_view< char_type > name) |
Public Member Functions inherited from internal::context_base< OutputIt, basic_format_context< OutputIt, Char >, Char > | |
basic_parse_context< char_type > & | parse_context () |
basic_format_args< basic_format_context< OutputIt, Char > > | args () const |
basic_format_arg< basic_format_context< OutputIt, Char > > | arg (unsigned id) const |
internal::error_handler | error_handler () |
void | on_error (const char *message) |
iterator | out () |
iterator | begin () |
void | advance_to (iterator it) |
locale_ref | locale () |
Private Types | |
typedef internal::context_base< OutputIt, basic_format_context, Char > | base |
typedef base::format_arg | format_arg |
Private Member Functions | |
basic_format_context (const basic_format_context &)=delete | |
void | operator= (const basic_format_context &)=delete |
Private Attributes | |
internal::arg_map< basic_format_context > | map_ |
Additional Inherited Members | |
Protected Types inherited from internal::context_base< OutputIt, basic_format_context< OutputIt, Char >, Char > | |
typedef Char | char_type |
typedef basic_format_arg< basic_format_context< OutputIt, Char > > | format_arg |
Protected Member Functions inherited from internal::context_base< OutputIt, basic_format_context< OutputIt, Char >, Char > | |
context_base (OutputIt out, basic_string_view< char_type > format_str, basic_format_args< basic_format_context< OutputIt, Char > > ctx_args, locale_ref loc=locale_ref()) | |
format_arg | do_get_arg (unsigned arg_id) |
format_arg | get_arg (unsigned arg_id) |
|
private |
typedef Char basic_format_context< OutputIt, Char >::char_type |
|
private |
typedef OutputIt internal::context_base< OutputIt, Context, Char >::iterator |
|
privatedelete |
|
inline |
Constructs a basic_format_context
object. References to the arguments are stored in the object so make sure they have appropriate lifetimes.
Definition at line 1109 of file core.h.
|
inline |
Definition at line 1117 of file core.h.
basic_format_context< Range, Char >::format_arg basic_format_context< Range, Char >::get_arg | ( | basic_string_view< char_type > | name | ) |
Definition at line 3058 of file format.h.
|
inline |
Definition at line 1114 of file core.h.
|
privatedelete |
|
private |