|
| FMT_FUNC void | format_system_error (Writer &out, int error_code, StringRef message) FMT_NOEXCEPT |
| |
| DummyInt | signbit (...) |
| |
| DummyInt | _ecvt_s (...) |
| |
| DummyInt | isinf (...) |
| |
| DummyInt | _finite (...) |
| |
| DummyInt | isnan (...) |
| |
| DummyInt | _isnan (...) |
| |
| template<typename T > |
| T | check (T value) |
| |
| | FMT_SPECIALIZE_MAKE_UNSIGNED (char, unsigned char) |
| |
| | FMT_SPECIALIZE_MAKE_UNSIGNED (signed char, unsigned char) |
| |
| | FMT_SPECIALIZE_MAKE_UNSIGNED (short, unsigned short) |
| |
| | FMT_SPECIALIZE_MAKE_UNSIGNED (int, unsigned) |
| |
| | FMT_SPECIALIZE_MAKE_UNSIGNED (long, unsigned long) |
| |
| | FMT_SPECIALIZE_MAKE_UNSIGNED (LongLong, ULongLong) |
| |
| template<typename Int > |
| MakeUnsigned< Int >::Type | to_unsigned (Int value) |
| |
| template<typename T > |
| T * | make_ptr (T *ptr, std::size_t) |
| |
| template<typename T > |
| bool | is_negative (T value) |
| |
| FMT_API void | report_unknown_type (char code, const char *type) |
| |
| unsigned | count_digits (uint64_t n) |
| |
| template<typename UInt , typename Char , typename ThousandsSep > |
| void | format_decimal (Char *buffer, UInt value, unsigned num_digits, ThousandsSep thousands_sep) |
| |
| template<typename UInt , typename Char > |
| void | format_decimal (Char *buffer, UInt value, unsigned num_digits) |
| |
| template<typename T > |
| T & | get () |
| |
| Yes & | convert (fmt::ULongLong) |
| |
| No & | convert (...) |
| |
| | FMT_DISABLE_CONVERSION_TO_INT (float) |
| |
| | FMT_DISABLE_CONVERSION_TO_INT (double) |
| |
| | FMT_DISABLE_CONVERSION_TO_INT (long double) |
| |
| template<typename LConv > |
| StringRef | thousands_sep (LConv *lc, LConvCheck< char *LConv::*,&LConv::thousands_sep >=0) |
| |
| fmt::StringRef | thousands_sep (...) |
| |
| uint64_t | make_type () |
| |
| template<typename T > |
| uint64_t | make_type (const T &arg) |
| |
| uint64_t | make_type (FMT_GEN15(FMT_ARG_TYPE_DEFAULT)) |
| |
| template<typename Char > |
| bool | is_name_start (Char c) |
| |
| template<typename Char > |
| unsigned | parse_nonnegative_int (const Char *&s) |
| |
| void | require_numeric_argument (const Arg &arg, char spec) |
| |
| template<typename Char > |
| void | check_sign (const Char *&s, const Arg &arg) |
| |
| Yes & | convert (std::ostream &) |
| |
| No & | operator<< (std::ostream &, int) |
| |
Formats an error returned by an operating system or a language runtime, for example a file opening error, and writes it to out in the following form:
.. parsed-literal:: <message>*: *<system-message>*
where *<message>* is the passed message and *<system-message>* is the system message corresponding to the error code. error_code* is a system error code as given by errno. If error_code is not a valid error code such as -1, the system message may look like "Unknown error -1" and is platform-dependent.
Definition at line 219 of file format.cc.