Loading...
Searching...
No Matches
format-inl.h File Reference #include "format.h" #include <cassert> #include <cctype> #include <climits> #include <cmath> #include <cstdarg> #include <cstring> #include <cwchar> #include <locale> Go to the source code of this file.
Macro Definition Documentation◆ FMT_CATCH
Definition at line 42 of file format-inl.h. Referenced by format_system_error(). ◆ FMT_POWERS_OF_10
Value:
factor * 10, (factor)*100, (factor)*1000, (factor)*10000, (factor)*100000, \
(factor)*1000000, (factor)*10000000, (factor)*100000000, \
(factor)*1000000000
Definition at line 263 of file format-inl.h. ◆ FMT_SNPRINTF
Definition at line 64 of file format-inl.h. Referenced by internal::snprintf_float(). ◆ FMT_TRY
Definition at line 41 of file format-inl.h. Referenced by format_system_error(). Function Documentation◆ format_system_error()
\rst 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 Definition at line 1338 of file format-inl.h. References FMT_CATCH, FMT_TRY, inline_buffer_size, buffer< T >::resize(), internal::safe_strerror(), buffer< T >::size(), and basic_writer< Range >::write(). Referenced by system_error::init(), and report_system_error(). ◆ report_system_error()
Definition at line 1367 of file format-inl.h. References format_system_error(), and internal::report_error(). ◆ strerror_r()
Definition at line 52 of file format-inl.h. Referenced by internal::safe_strerror(). ◆ strerror_s()
Definition at line 53 of file format-inl.h. Referenced by internal::safe_strerror(). ◆ vprint() [1/2]
Definition at line 1379 of file format-inl.h. References buffer< T >::data(), internal::fwrite_fully(), buffer< T >::size(), and internal::vformat_to(). ◆ vprint() [2/2]
Definition at line 1386 of file format-inl.h. References vprint().
|