#include <core.h>
Public Types | |
using | size_type = int |
using | format_arg = basic_format_arg< Context > |
Public Member Functions | |
basic_format_args () | |
template<typename... Args> | |
basic_format_args (const format_arg_store< Context, Args... > &store) | |
basic_format_args (const format_arg *args, int count) | |
format_arg | get (int index) const |
int | max_size () const |
Private Member Functions | |
bool | is_packed () const |
internal::type | type (int index) const |
void | set_data (const internal::value< Context > *values) |
void | set_data (const format_arg *args) |
format_arg | do_get (int index) const |
Private Attributes | |
unsigned long long | types_ |
union { | |
const internal::value< Context > * values_ | |
const format_arg * args_ | |
}; | |
Friends | |
class | internal::arg_map< Context > |
Formatting arguments.
using format_arg = basic_format_arg<Context> |
basic_format_args | ( | const format_arg_store< Context, Args... > & | store | ) |
Constructs a basic_format_args
object from ~fmtformat_arg_store
.
basic_format_args | ( | const format_arg * | args, |
int | count | ||
) |
Constructs a basic_format_args
object from a dynamic set of arguments.
|
private |
format_arg get | ( | int | index | ) | const |
Returns the argument at specified index.
Definition at line 1303 of file core.h.
Referenced by basic_printf_context< OutputIt, Char >::arg(), and basic_format_context< OutputIt, Char >::arg().
|
private |
Definition at line 1250 of file core.h.
Referenced by arg_map< basic_format_context >::init().
int max_size | ( | ) | const |
Definition at line 1310 of file core.h.
Referenced by arg_map< basic_format_context >::init().
|
private |
|
private |
|
private |
Definition at line 1252 of file core.h.
Referenced by arg_map< basic_format_context >::init().
|
friend |
union { ... } |
const format_arg* args_ |
Definition at line 1247 of file core.h.
Referenced by arg_map< basic_format_context >::init().
const internal::value<Context>* values_ |
Definition at line 1246 of file core.h.
Referenced by arg_map< basic_format_context >::init().