#include <compile.h>
Classes | |
struct | replacement |
union | value |
Public Types | |
enum | kind { arg_index, arg_name, text, replacement } |
Public Member Functions | |
FMT_CONSTEXPR | format_part (kind k=kind::arg_index, value v={}) |
Static Public Member Functions | |
static FMT_CONSTEXPR format_part | make_arg_index (int index) |
static FMT_CONSTEXPR format_part | make_arg_name (basic_string_view< Char > name) |
static FMT_CONSTEXPR format_part | make_text (basic_string_view< Char > text) |
static FMT_CONSTEXPR format_part | make_replacement (replacement repl) |
Public Attributes | |
kind | part_kind |
union internal::format_part::value | val |
const Char * | arg_id_end = nullptr |
|
strong |
FMT_CONSTEXPR format_part | ( | kind | k = kind::arg_index , |
value | v = {} |
||
) |
Definition at line 40 of file compile.h.
References format_part< Char >::part_kind, and format_part< Char >::val.
Referenced by format_part< Char >::make_arg_index(), format_part< Char >::make_arg_name(), format_part< Char >::make_replacement(), and format_part< Char >::make_text().
|
static |
Definition at line 43 of file compile.h.
References format_part< Char >::arg_index, and format_part< Char >::format_part().
|
static |
Definition at line 46 of file compile.h.
References format_part< Char >::arg_name, and format_part< Char >::format_part().
|
static |
Definition at line 52 of file compile.h.
References format_part< Char >::format_part(), and format_part< Char >::replacement.
|
static |
Definition at line 49 of file compile.h.
References format_part< Char >::format_part(), and format_part< Char >::text.
Referenced by internal::compile_to_parts(), and compiled_format< S, Args >::compiled_format().
const Char* arg_id_end = nullptr |
Definition at line 38 of file compile.h.
Referenced by format_string_compiler< Char, PartHandler >::on_format_specs(), and format_string_compiler< Char, PartHandler >::on_replacement_field().
kind part_kind |
Definition at line 27 of file compile.h.
Referenced by format_part< Char >::format_part(), and format_string_compiler< Char, PartHandler >::on_format_specs().