Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Macros | Functions
format.cc File Reference
#include "format.h"
#include <string.h>
#include <cctype>
#include <cerrno>
#include <climits>
#include <cmath>
#include <cstdarg>
#include <cstddef>

Namespaces

 fmt
 
 fmt::internal
 

Macros

#define FMT_TRY   try
 
#define FMT_CATCH(x)   catch (x)
 
#define FMT_SNPRINTF   snprintf
 
#define FMT_SWPRINTF   swprintf
 
#define FMT_POWERS_OF_10(factor)
 

Functions

static fmt::internal::Null strerror_r (int, char *,...)
 
static fmt::internal::Null strerror_s (char *, std::size_t,...)
 
FMT_FUNC void fmt::internal::format_system_error (Writer &out, int error_code, StringRef message) FMT_NOEXCEPT
 
FMT_FUNC void fmt::format_system_error (Writer &out, int error_code, StringRef message) FMT_NOEXCEPT
 
FMT_FUNC void fmt::report_system_error (int error_code, fmt::StringRef message) FMT_NOEXCEPT
 
FMT_FUNC void fmt::print (std::FILE *f, CStringRef format_str, ArgList args)
 
FMT_FUNC void fmt::print (CStringRef format_str, ArgList args)
 
FMT_FUNC void fmt::print_colored (Color c, CStringRef format, ArgList args)
 

Macro Definition Documentation

#define FMT_CATCH (   x)    catch (x)
#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
#define FMT_SNPRINTF   snprintf
#define FMT_SWPRINTF   swprintf
#define FMT_TRY   try

Function Documentation

static fmt::internal::Null strerror_r ( int  ,
char *  ,
  ... 
)
inlinestatic
static fmt::internal::Null strerror_s ( char *  ,
std::size_t  ,
  ... 
)
inlinestatic