#include "format.h"
#include <string.h>
#include <cctype>
#include <cerrno>
#include <climits>
#include <cmath>
#include <cstdarg>
#include <cstddef>
Go to the source code of this file.
|
static FMT_MAYBE_UNUSED fmt::internal::Null | strerror_r (int, char *,...) |
|
static FMT_MAYBE_UNUSED fmt::internal::Null | strerror_s (char *, std::size_t,...) |
|
int | fmt::safe_strerror (int error_code, char *&buffer, std::size_t buffer_size) FMT_NOEXCEPT |
|
void | fmt::format_error_code (Writer &out, int error_code, StringRef message) FMT_NOEXCEPT |
|
void | fmt::report_error (FormatFunc func, int error_code, StringRef message) FMT_NOEXCEPT |
|
| fmt::FMT_POWERS_OF_10 (1) } |
|
| fmt::FMT_POWERS_OF_10 (ULongLong(1000000000)) |
|
| fmt::ULongLong (1000000000) *ULongLong(1000000000) *10 } |
|
| fmt::if (std::isprint(static_cast< unsigned char >(code))) |
|
| fmt::FMT_THROW (FormatError(format("unknown format code '\\x{:02x}' for {}", static_cast< unsigned >(code), type))) |
|
FMT_API void | fmt::format_system_error (fmt::Writer &out, int error_code, fmt::StringRef message) FMT_NOEXCEPT |
|
| fmt::switch (arg.type) |
|
FMT_API void | fmt::report_system_error (int error_code, StringRef message) FMT_NOEXCEPT |
|
FMT_API void | fmt::print (std::FILE *f, CStringRef format_str, ArgList args) |
|
FMT_API void | fmt::print (CStringRef format_str, ArgList args) |
|
FMT_API void | fmt::print_colored (Color c, CStringRef format, ArgList args) |
|
◆ FMT_CATCH
#define FMT_CATCH |
( |
| x | ) |
catch (x) |
◆ FMT_POWERS_OF_10
#define FMT_POWERS_OF_10 |
( |
| factor | ) |
|
Value: factor * 10, \
factor * 100, \
factor * 1000, \
factor * 10000, \
factor * 100000, \
factor * 1000000, \
factor * 10000000, \
factor * 100000000, \
factor * 1000000000
Definition at line 270 of file format.cc.
◆ FMT_SNPRINTF
#define FMT_SNPRINTF snprintf |
◆ FMT_SWPRINTF
#define FMT_SWPRINTF swprintf |
◆ FMT_TRY
◆ strerror_r()
◆ strerror_s()