#include <core.h>
Public Types | |
using | char_type = Char |
using | format_arg = basic_format_arg< basic_format_context > |
using | format_args = basic_format_args< basic_format_context > |
template<typename T > | |
using | formatter_type = formatter< T, Char > |
using | iterator = OutputIt |
using | parse_context_type = basic_format_parse_context< Char > |
Public Member Functions | |
void | advance_to (iterator it) |
FMT_CONSTEXPR auto | arg (basic_string_view< Char > name) -> format_arg |
constexpr auto | arg (int id) const -> format_arg |
FMT_CONSTEXPR auto | arg_id (basic_string_view< Char > name) -> int |
auto | args () const -> const format_args & |
basic_format_context (basic_format_context &&)=default | |
basic_format_context (const basic_format_context &)=delete | |
constexpr | basic_format_context (OutputIt out, format_args ctx_args, detail::locale_ref loc={}) |
FMT_CONSTEXPR auto | error_handler () -> detail::error_handler |
FMT_CONSTEXPR auto | locale () -> detail::locale_ref |
void | on_error (const char *message) |
void | operator= (const basic_format_context &)=delete |
FMT_CONSTEXPR auto | out () -> iterator |
Private Attributes | |
basic_format_args< basic_format_context > | args_ |
detail::locale_ref | loc_ |
OutputIt | out_ |
using basic_format_context< OutputIt, Char >::char_type = Char |
using basic_format_context< OutputIt, Char >::format_arg = basic_format_arg<basic_format_context> |
using basic_format_context< OutputIt, Char >::format_args = basic_format_args<basic_format_context> |
using basic_format_context< OutputIt, Char >::formatter_type = formatter<T, Char> |
using basic_format_context< OutputIt, Char >::iterator = OutputIt |
using basic_format_context< OutputIt, Char >::parse_context_type = basic_format_parse_context<Char> |
|
default |
|
delete |
|
inlineconstexpr |
Constructs a basic_format_context
object. References to the arguments are stored in the object so make sure they have appropriate lifetimes.
|
inline |
|
inline |
|
inlineconstexpr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
delete |
|
inline |
|
private |
|
private |
|
private |