|
#define | FMT_GCC_EXTENSION |
|
#define | FMT_HAS_FEATURE(x) 0 |
|
#define | FMT_HAS_BUILTIN(x) 0 |
|
#define | FMT_USE_VARIADIC_TEMPLATES |
|
#define | FMT_USE_RVALUE_REFERENCES |
|
#define | FMT_NOEXCEPT(expr) |
|
#define | FMT_DISALLOW_COPY_AND_ASSIGN(TypeName) |
|
#define | FMT_SPECIALIZE_MAKE_UNSIGNED(T, U) |
|
#define | FMT_DISPATCH(call) static_cast<Impl*>(this)->call |
|
#define | FMT_DEFINE_INT_FORMATTERS(TYPE) |
|
#define | FMT_GEN(n, f) FMT_GEN##n(f) |
|
#define | FMT_GEN1(f) f(0) |
|
#define | FMT_GEN2(f) FMT_GEN1(f), f(1) |
|
#define | FMT_GEN3(f) FMT_GEN2(f), f(2) |
|
#define | FMT_GEN4(f) FMT_GEN3(f), f(3) |
|
#define | FMT_GEN5(f) FMT_GEN4(f), f(4) |
|
#define | FMT_GEN6(f) FMT_GEN5(f), f(5) |
|
#define | FMT_GEN7(f) FMT_GEN6(f), f(6) |
|
#define | FMT_GEN8(f) FMT_GEN7(f), f(7) |
|
#define | FMT_GEN9(f) FMT_GEN8(f), f(8) |
|
#define | FMT_GEN10(f) FMT_GEN9(f), f(9) |
|
#define | FMT_MAKE_TEMPLATE_ARG(n) typename T##n |
|
#define | FMT_MAKE_ARG(n) const T##n &v##n |
|
#define | FMT_MAKE_REF_char(n) fmt::internal::MakeArg<char>(v##n) |
|
#define | FMT_MAKE_REF_wchar_t(n) fmt::internal::MakeArg<wchar_t>(v##n) |
|
#define | FMT_MAKE_REF(n) fmt::internal::MakeArg<Char>(v##n) |
|
#define | FMT_WRAP1(func, arg_type, n) |
|
#define | FMT_VARIADIC_VOID(func, arg_type) |
|
#define | FMT_CTOR(ctor, func, arg0_type, arg1_type, n) |
|
#define | FMT_VARIADIC_CTOR(ctor, func, arg0_type, arg1_type) |
|
#define | FMT_FOR_EACH1(f, x0) f(x0, 0) |
|
#define | FMT_FOR_EACH2(f, x0, x1) FMT_FOR_EACH1(f, x0), f(x1, 1) |
|
#define | FMT_FOR_EACH3(f, x0, x1, x2) FMT_FOR_EACH2(f, x0 ,x1), f(x2, 2) |
|
#define | FMT_FOR_EACH4(f, x0, x1, x2, x3) FMT_FOR_EACH3(f, x0, x1, x2), f(x3, 3) |
|
#define | FMT_FOR_EACH5(f, x0, x1, x2, x3, x4) FMT_FOR_EACH4(f, x0, x1, x2, x3), f(x4, 4) |
|
#define | FMT_FOR_EACH6(f, x0, x1, x2, x3, x4, x5) FMT_FOR_EACH5(f, x0, x1, x2, x3, x4), f(x5, 5) |
|
#define | FMT_FOR_EACH7(f, x0, x1, x2, x3, x4, x5, x6) FMT_FOR_EACH6(f, x0, x1, x2, x3, x4, x5), f(x6, 6) |
|
#define | FMT_FOR_EACH8(f, x0, x1, x2, x3, x4, x5, x6, x7) FMT_FOR_EACH7(f, x0, x1, x2, x3, x4, x5, x6), f(x7, 7) |
|
#define | FMT_FOR_EACH9(f, x0, x1, x2, x3, x4, x5, x6, x7, x8) FMT_FOR_EACH8(f, x0, x1, x2, x3, x4, x5, x6, x7), f(x8, 8) |
|
#define | FMT_FOR_EACH10(f, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9) FMT_FOR_EACH9(f, x0, x1, x2, x3, x4, x5, x6, x7, x8), f(x9, 9) |
|
#define | FMT_EXPAND(args) args |
|
#define | FMT_NARG(...) FMT_NARG_(__VA_ARGS__, FMT_RSEQ_N()) |
|
#define | FMT_NARG_(...) FMT_EXPAND(FMT_ARG_N(__VA_ARGS__)) |
|
#define | FMT_ARG_N(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, N, ...) N |
|
#define | FMT_RSEQ_N() 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 |
|
#define | FMT_CONCAT(a, b) a##b |
|
#define | FMT_FOR_EACH_(N, f, ...) FMT_EXPAND(FMT_CONCAT(FMT_FOR_EACH, N)(f, __VA_ARGS__)) |
|
#define | FMT_FOR_EACH(f, ...) FMT_EXPAND(FMT_FOR_EACH_(FMT_NARG(__VA_ARGS__), f, __VA_ARGS__)) |
|
#define | FMT_ADD_ARG_NAME(type, index) type arg##index |
|
#define | FMT_GET_ARG_NAME(type, index) arg##index |
|
#define | FMT_WRAP(Char, ReturnType, func, call, n, ...) |
|
#define | FMT_VARIADIC_(Char, ReturnType, func, call, ...) |
|
#define | FMT_VARIADIC(ReturnType, func, ...) FMT_VARIADIC_(char, ReturnType, func, return func, __VA_ARGS__) |
| Defines a variadic function with the specified return type, function name and argument types passed as variable arguments to this macro. More...
|
|
#define | FMT_VARIADIC_W(ReturnType, func, ...) FMT_VARIADIC_(wchar_t, ReturnType, func, return func, __VA_ARGS__) |
|
|
template<typename Char , typename T > |
void | fmt::format (BasicFormatter< Char > &f, const Char *format_str, const T &value) |
|
template<typename T > |
T * | fmt::internal::make_ptr (T *ptr, std::size_t) |
|
template<typename T > |
bool | fmt::internal::is_negative (T value) |
|
| fmt::internal::FMT_SPECIALIZE_MAKE_UNSIGNED (char, unsigned char) |
|
| fmt::internal::FMT_SPECIALIZE_MAKE_UNSIGNED (signed char, unsigned char) |
|
| fmt::internal::FMT_SPECIALIZE_MAKE_UNSIGNED (short, unsigned short) |
|
| fmt::internal::FMT_SPECIALIZE_MAKE_UNSIGNED (int, unsigned) |
|
| fmt::internal::FMT_SPECIALIZE_MAKE_UNSIGNED (long, unsigned long) |
|
| fmt::internal::FMT_SPECIALIZE_MAKE_UNSIGNED (LongLong, ULongLong) |
|
void | fmt::internal::report_unknown_type (char code, const char *type) |
|
unsigned | fmt::internal::count_digits (uint64_t n) |
|
template<typename UInt , typename Char > |
void | fmt::internal::format_decimal (Char *buffer, UInt value, unsigned num_digits) |
|
int | fmt::internal::safe_strerror (int error_code, char *&buffer, std::size_t buffer_size) FMT_NOEXCEPT(true) |
|
void | fmt::internal::format_system_error (fmt::Writer &out, int error_code, fmt::StringRef message) |
|
IntFormatSpec< int, TypeSpec<'b'> > | fmt::bin (int value) |
| Returns an integer format specifier to format the value in base 2. More...
|
|
IntFormatSpec< int, TypeSpec<'o'> > | fmt::oct (int value) |
| Returns an integer format specifier to format the value in base 8. More...
|
|
IntFormatSpec< int, TypeSpec<'x'> > | fmt::hex (int value) |
| Returns an integer format specifier to format the value in base 16 using lower-case letters for the digits above 9. More...
|
|
IntFormatSpec< int, TypeSpec<'X'> > | fmt::hexu (int value) |
| Returns an integer formatter format specifier to format in base 16 using upper-case letters for the digits above 9. More...
|
|
template<char TYPE_CODE, typename Char > |
IntFormatSpec< int, AlignTypeSpec< TYPE_CODE >, Char > | fmt::pad (int value, unsigned width, Char fill= ' ') |
| Returns an integer format specifier to pad the formatted argument with the fill character to the specified width using the default (right) numeric alignment. More...
|
|
template<typename Char > |
StrFormatSpec< Char > | fmt::pad (const Char *str, unsigned width, Char fill= ' ') |
| Returns a string formatter that pads the formatted argument with the fill character to the specified width using the default (left) string alignment. More...
|
|
StrFormatSpec< wchar_t > | fmt::pad (const wchar_t *str, unsigned width, char fill= ' ') |
|
void | fmt::report_system_error (int error_code, StringRef message) FMT_NOEXCEPT(true) |
|
void | fmt::print_colored (Color c, StringRef format, const ArgList &args) |
| Formats a string and prints it to stdout using ANSI escape sequences to specify color (experimental). More...
|
|
std::string | fmt::format (StringRef format_str, const ArgList &args) |
| Formats arguments and returns the result as a string. More...
|
|
std::wstring | fmt::format (WStringRef format_str, const ArgList &args) |
|
void | fmt::print (std::FILE *f, StringRef format_str, const ArgList &args) |
| Prints formatted data to the file f. More...
|
|
void | fmt::print (StringRef format_str, const ArgList &args) |
| Prints formatted data to stdout . More...
|
|
void | fmt::print (std::ostream &os, StringRef format_str, const ArgList &args) |
| Prints formatted data to the stream os. More...
|
|
template<typename Char > |
void | fmt::printf (BasicWriter< Char > &w, BasicStringRef< Char > format, const ArgList &args) |
|
std::string | fmt::sprintf (StringRef format, const ArgList &args) |
| Formats arguments and returns the result as a string. More...
|
|
int | fmt::fprintf (std::FILE *f, StringRef format, const ArgList &args) |
| Prints formatted data to the file f. More...
|
|
int | fmt::printf (StringRef format, const ArgList &args) |
| Prints formatted data to stdout . More...
|
|
template<typename T > |
void | fmt::format_decimal (char *&buffer, T value) |
|