Flow123d  master-a7f2151e0
Namespaces | Macros | Functions
format.cc File Reference
#include "system/fmt/format.h"
#include "system/fmt/printf.h"
#include <string.h>
#include <cctype>
#include <cerrno>
#include <climits>
#include <cmath>
#include <cstdarg>
#include <cstddef>

Go to the source code of this file.

Namespaces

 fmt
 
 fmt::internal
 

Macros

#define FMT_TRY   if (true)
 
#define FMT_CATCH(x)   if (false)
 
#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
 

Macro Definition Documentation

◆ FMT_CATCH

#define FMT_CATCH (   x)    if (false)

Definition at line 61 of file format.cc.

◆ 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 271 of file format.cc.

◆ FMT_SNPRINTF

#define FMT_SNPRINTF   snprintf

Definition at line 91 of file format.cc.

◆ FMT_SWPRINTF

#define FMT_SWPRINTF   swprintf

Definition at line 106 of file format.cc.

◆ FMT_TRY

#define FMT_TRY   if (true)

Definition at line 60 of file format.cc.

Function Documentation

◆ strerror_r()

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

Definition at line 75 of file format.cc.

◆ strerror_s()

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

Definition at line 78 of file format.cc.