#include <core.h>
Public Types | |
using | char_type = Char |
using | iterator = OutputIt |
using | format_arg = basic_format_arg< basic_format_context > |
using | parse_context_type = basic_format_parse_context< Char > |
template<typename T > | |
using | formatter_type = formatter< T, char_type > |
Public Member Functions | |
basic_format_context (const basic_format_context &)=delete | |
void | operator= (const basic_format_context &)=delete |
basic_format_context (OutputIt out, basic_format_args< basic_format_context > ctx_args, detail::locale_ref loc=detail::locale_ref()) | |
format_arg | arg (int id) const |
format_arg | arg (basic_string_view< char_type > name) |
int | arg_id (basic_string_view< char_type > name) |
const basic_format_args< basic_format_context > & | args () const |
detail::error_handler | error_handler () |
void | on_error (const char *message) |
iterator | out () |
void | advance_to (iterator it) |
detail::locale_ref | locale () |
Private Attributes | |
OutputIt | out_ |
basic_format_args< basic_format_context > | args_ |
detail::locale_ref | loc_ |
using formatter_type = formatter<T, char_type> |
using parse_context_type = basic_format_parse_context<Char> |
|
delete |
basic_format_context | ( | OutputIt | out, |
basic_format_args< basic_format_context< OutputIt, Char > > | ctx_args, | ||
detail::locale_ref | loc = detail::locale_ref() |
||
) |
Constructs a basic_format_context
object. References to the arguments are stored in the object so make sure they have appropriate lifetimes.
format_arg arg | ( | int | id | ) | const |
Definition at line 1517 of file core.h.
References basic_format_args< Context >::get().
format_arg arg | ( | basic_string_view< char_type > | name | ) |
Definition at line 1518 of file core.h.
References basic_format_args< Context >::get().
int arg_id | ( | basic_string_view< char_type > | name | ) |
Definition at line 1519 of file core.h.
References basic_format_args< Context >::get_id().
const basic_format_args<basic_format_context>& args | ( | ) | const |
detail::error_handler error_handler | ( | ) |
detail::locale_ref locale | ( | ) |
|
delete |
iterator out | ( | ) |
Definition at line 1526 of file core.h.
Referenced by formatter< detail::bigint >::format(), and arg_formatter< OutputIt, Char >::operator()().
|
private |
|
private |