Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
detail Namespace Reference

Namespaces

 digits
 
 dragonbox
 

Classes

struct  accumulator
 
struct  arg_data
 
struct  arg_data< T, Char, NUM_ARGS, 0 >
 
class  arg_formatter
 
class  arg_formatter_base
 
struct  arg_mapper
 
struct  arg_ref
 
struct  auto_id
 
struct  basic_data
 
struct  big_decimal_fp
 
class  bigint
 
struct  bits
 
struct  boundaries
 
class  buffer
 
class  buffer_appender
 
struct  buffer_traits
 
class  char_specs_checker
 
struct  char_t_impl
 
struct  char_t_impl< S, enable_if_t< is_string< S >::value > >
 
struct  chrono_format_checker
 
struct  chrono_formatter
 
class  compile_parse_context
 
class  counting_buffer
 
class  counting_iterator
 
class  cstring_type_checker
 
class  custom_formatter
 
struct  custom_value
 
struct  data
 
struct  default_arg_formatter
 
struct  divtest_table_entry
 
class  dynamic_arg_list
 
struct  dynamic_format_specs
 
class  dynamic_specs_handler
 
struct  error_handler
 
struct  fallback_formatter
 
struct  fallback_uintptr
 
struct  fill_t
 
class  fixed_buffer_traits
 
struct  fixed_handler
 
struct  float_specs
 
struct  format_decimal_result
 
struct  format_handler
 
class  format_string_checker
 
class  fp
 
struct  id_adapter
 
struct  int128_t
 
class  int_type_checker
 
struct  int_writer
 
struct  is_back_insert_iterator
 
struct  is_back_insert_iterator< std::back_insert_iterator< Container > >
 
struct  is_contiguous_back_insert_iterator
 
struct  is_contiguous_back_insert_iterator< buffer_appender< Char > >
 
struct  is_contiguous_back_insert_iterator< std::back_insert_iterator< Container > >
 
struct  is_integral
 
struct  is_integral< int128_t >
 
struct  is_integral< uint128_t >
 
struct  is_named_arg
 
struct  is_named_arg< named_arg< Char, T > >
 
class  is_output_iterator
 
struct  is_reference_wrapper
 
struct  is_reference_wrapper< std::reference_wrapper< T > >
 
struct  is_string
 
class  iterator_buffer
 
class  iterator_buffer< std::back_insert_iterator< Container >, enable_if_t< is_contiguous< Container >::value, typename Container::value_type > >
 
class  iterator_buffer< T *, T >
 
struct  iterator_category
 
struct  iterator_category< It, void_t< typename It::iterator_category > >
 
struct  iterator_category< T * >
 
class  locale_ref
 
struct  make_unsigned_or_unchanged
 
struct  make_unsigned_or_unchanged< T, true >
 
struct  named_arg
 
struct  named_arg_info
 
struct  named_arg_value
 
struct  null
 
class  numeric_specs_checker
 
struct  precision_adapter
 
class  precision_checker
 
class  specs_checker
 
class  specs_handler
 
class  specs_setter
 
struct  std_string_view
 
struct  string_value
 
struct  stringifier
 
class  truncating_iterator
 
class  truncating_iterator< OutputIt, std::false_type >
 
class  truncating_iterator< OutputIt, std::true_type >
 
class  truncating_iterator_base
 
struct  type_constant
 
struct  uint128_t
 
struct  uint128_wrapper
 
struct  unformattable
 
class  utf8_to_utf16
 
class  value
 
struct  view
 
struct  void_t_impl
 
struct  width_adapter
 
class  width_checker
 
struct  write_int_data
 

Typedefs

template<typename T >
using checked_ptr = T *
 
using format_func = void(*)(detail::buffer< char > &, int, string_view)
 
template<typename T , typename Context >
using has_fallback_formatter = std::is_constructible< fallback_formatter< T, typename Context::char_type >>
 
template<typename T >
using is_fast_float = bool_constant< std::numeric_limits< T >::is_iec559 &&sizeof(T)<=sizeof(double)>
 
template<typename T >
using is_integer = bool_constant< is_integral< T >::value &&!std::is_same< T, bool >::value &&!std::is_same< T, char >::value &&!std::is_same< T, wchar_t >::value >
 
template<typename T >
using is_signed = std::integral_constant< bool, std::numeric_limits< T >::is_signed||std::is_same< T, int128_t >::value >
 
template<typename T >
using iterator_t = decltype(std::begin(std::declval< T & >()))
 
using long_type = conditional_t< long_short, int, long long >
 
template<typename T , typename Context >
using mapped_type_constant = type_constant< decltype(arg_mapper< Context >().map(std::declval< const T & >())), typename Context::char_type >
 
template<typename InputIt , typename OutChar >
using needs_conversion = bool_constant< std::is_same< typename std::iterator_traits< InputIt >::value_type, char >::value &&std::is_same< OutChar, char8_type >::value >
 
template<typename T >
using sentinel_t = decltype(std::end(std::declval< T & >()))
 
template<typename T >
using uint32_or_64_or_128_t = conditional_t< num_bits< T >()<=32 &&!FMT_REDUCE_INT_INSTANTIATIONS, uint32_t, conditional_t< num_bits< T >()<=64, uint64_t, uint128_t >>
 
using uintptr_t = fallback_uintptr
 
using ulong_type = conditional_t< long_short, unsigned, unsigned long long >
 
template<typename... Ts>
using void_t = typename detail::void_t_impl< Ts... >::type
 

Enumerations

enum  { long_short = sizeof(long) == sizeof(int) }
 
enum  { packed_arg_bits = 4 }
 
enum  { max_packed_args = 62 / packed_arg_bits }
 
enum  : unsigned long long { is_unpacked_bit = 1ULL << 63 }
 
enum  : unsigned long long { has_named_args_bit = 1ULL << 62 }
 
enum  arg_id_kind { arg_id_kind::none, arg_id_kind::index, arg_id_kind::name }
 
enum  char8_type : unsigned char
 
enum  float_format : unsigned char { float_format::general, float_format::exp, float_format::fixed, float_format::hex }
 
enum  numeric_system { numeric_system::standard, numeric_system::alternative }
 
enum  round_direction { round_direction::unknown, round_direction::up, round_direction::down }
 
enum  type {
  type::none_type, type::int_type, type::uint_type, type::long_long_type,
  type::ulong_long_type, type::int128_type, type::uint128_type, type::bool_type,
  type::char_type, type::last_integer_type = char_type, type::float_type, type::double_type,
  type::long_double_type, type::last_numeric_type = long_double_type, type::cstring_type, type::string_type,
  type::pointer_type, type::custom_type
}
 

Functions

FMT_NORETURN FMT_API void assert_fail (const char *file, int line, const char *message)
 
FMT_INLINE void assume (bool condition)
 
template<typename Container , FMT_ENABLE_IF(is_contiguous< Container >::value) >
std::back_insert_iterator< Container > base_iterator (std::back_insert_iterator< Container > &it, checked_ptr< typename Container::value_type >)
 
template<typename Iterator >
Iterator base_iterator (Iterator, Iterator it)
 
template<typename Dest , typename Source >
Dest bit_cast (const Source &source)
 
FMT_INLINE uint16_t bsr2log10 (int bsr)
 
template<typename T >
int check (unformattable)
 
template<typename T , typename U >
const U & check (const U &val)
 
template<typename... , typename S , FMT_ENABLE_IF(!is_compile_string< S >::value) >
FMT_INLINE void check_format_string (const S &)
 
template<typename... , typename S , FMT_ENABLE_IF(is_compile_string< S >::value) >
void check_format_string (S)
 
template<typename Char , typename ErrorHandler >
FMT_CONSTEXPR void check_pointer_type_spec (Char spec, ErrorHandler &&eh)
 
template<typename Char , typename ErrorHandler >
FMT_CONSTEXPR void check_string_type_spec (Char spec, ErrorHandler &&eh)
 
template<typename Char >
size_t code_point_index (basic_string_view< Char > s, size_t n)
 
size_t code_point_index (basic_string_view< char8_type > s, size_t n)
 
template<typename Char , size_t N>
FMT_CONSTEXPR basic_string_view< Char > compile_string_to_view (const Char(&s)[N])
 
template<typename Char >
FMT_CONSTEXPR basic_string_view< Char > compile_string_to_view (const std_string_view< Char > &s)
 
template<typename T >
constexpr T const_check (T value)
 
template<typename Char >
void copy2 (Char *dst, const char *src)
 
FMT_INLINE void copy2 (char *dst, const char *src)
 
template<typename OutChar , typename InputIt , typename OutputIt , FMT_ENABLE_IF(!needs_conversion< InputIt, OutChar >::value) >
OutputIt copy_str (InputIt begin, InputIt end, OutputIt it)
 
template<typename Char , typename InputIt >
counting_iterator copy_str (InputIt begin, InputIt end, counting_iterator it)
 
template<typename Char , typename OutputIt >
OutputIt copy_unit (string_view unit, OutputIt out, Char)
 
template<typename OutputIt >
OutputIt copy_unit (string_view unit, OutputIt out, wchar_t)
 
template<bool B = false>
constexpr size_t count ()
 
template<bool B1, bool B2, bool... Tail>
constexpr size_t count ()
 
template<typename Char >
size_t count_code_points (basic_string_view< Char > s)
 
size_t count_code_points (basic_string_view< char > s)
 
size_t count_code_points (basic_string_view< char8_type > s)
 
int count_digits (uint64_t n)
 
template<unsigned BITS, typename UInt >
int count_digits (UInt n)
 
template<>
FMT_FUNC int count_digits< 4 > (detail::fallback_uintptr n)
 
template<>
int count_digits< 4 > (detail::fallback_uintptr n)
 
template<typename... Args>
constexpr size_t count_named_args ()
 
template<typename Char >
Char decimal_point (locale_ref loc)
 
template<>
wchar_t decimal_point (locale_ref loc)
 
template<typename Char >
FMT_FUNC Char decimal_point_impl (locale_ref loc)
 
template<typename Char >
FMT_API Char decimal_point_impl (locale_ref loc)
 
template<typename Int >
constexpr int digits10 () FMT_NOEXCEPT
 
template<>
constexpr int digits10< int128_t > () FMT_NOEXCEPT
 
template<>
constexpr int digits10< uint128_t > () FMT_NOEXCEPT
 
template<typename >
constexpr unsigned long long encode_types ()
 
template<typename Context , typename Arg , typename... Args>
constexpr unsigned long long encode_types ()
 
template<typename Char >
bool equal2 (const Char *lhs, const char *rhs)
 
bool equal2 (const char *lhs, const char *rhs)
 
template<typename T >
constexpr dragonbox::float_info< T >::carrier_uint exponent_mask ()
 
template<typename Double >
void fallback_format (Double d, int num_digits, bool binary32, buffer< char > &buf, int &exp10)
 
template<typename OutputIt , typename Char >
FMT_NOINLINE OutputIt fill (OutputIt it, size_t n, const fill_t< Char > &fill)
 
template<bool IS_CONSTEXPR, typename T , typename Ptr = const T*>
FMT_CONSTEXPR bool find (Ptr first, Ptr last, T value, Ptr &out)
 
template<>
bool find< false, char > (const char *first, const char *last, char value, const char *&out)
 
null localtime_r FMT_NOMACRO (...)
 
template<typename To , typename FromRep , typename FromPeriod >
To fmt_safe_duration_cast (std::chrono::duration< FromRep, FromPeriod > from)
 
 FMT_SUPPRESS_MSC_WARNING (4566) const expr unsigned char micro[]
 
 FMT_TYPE_CONSTANT (int, int_type)
 
 FMT_TYPE_CONSTANT (unsigned, uint_type)
 
 FMT_TYPE_CONSTANT (long long, long_long_type)
 
 FMT_TYPE_CONSTANT (unsigned long long, ulong_long_type)
 
 FMT_TYPE_CONSTANT (int128_t, int128_type)
 
 FMT_TYPE_CONSTANT (uint128_t, uint128_type)
 
 FMT_TYPE_CONSTANT (bool, bool_type)
 
 FMT_TYPE_CONSTANT (Char, char_type)
 
 FMT_TYPE_CONSTANT (float, float_type)
 
 FMT_TYPE_CONSTANT (double, double_type)
 
 FMT_TYPE_CONSTANT (long double, long_double_type)
 
 FMT_TYPE_CONSTANT (const Char *, cstring_type)
 
 FMT_TYPE_CONSTANT (basic_string_view< Char >, string_type)
 
 FMT_TYPE_CONSTANT (const void *, pointer_type)
 
template<typename Char , typename UInt >
format_decimal_result< Char * > format_decimal (Char *out, UInt value, int size)
 
template<typename Char , typename UInt , typename Iterator , FMT_ENABLE_IF(!std::is_pointer< remove_cvref_t< Iterator >>::value) >
format_decimal_result< Iterator > format_decimal (Iterator out, UInt value, int size)
 
template<typename Char , typename Period , typename OutputIt >
OutputIt format_duration_unit (OutputIt out)
 
template<typename Char , typename Rep , typename OutputIt >
OutputIt format_duration_value (OutputIt out, Rep val, int precision)
 
FMT_FUNC void format_error_code (detail::buffer< char > &out, int error_code, string_view message) FMT_NOEXCEPT
 
template<typename T >
int format_float (T value, int precision, float_specs specs, buffer< char > &buf)
 
template int format_float< double > (double value, int precision, float_specs specs, buffer< char > &buf)
 
template int format_float< long double > (long double value, int precision, float_specs specs, buffer< char > &buf)
 
template<unsigned BASE_BITS, typename Char , typename UInt >
Char * format_uint (Char *buffer, UInt value, int num_digits, bool upper=false)
 
template<unsigned BASE_BITS, typename Char >
Char * format_uint (Char *buffer, detail::fallback_uintptr n, int num_digits, bool=false)
 
template<unsigned BASE_BITS, typename Char , typename It , typename UInt >
It format_uint (It out, UInt value, int num_digits, bool upper=false)
 
void fwrite_fully (const void *ptr, size_t size, size_t count, FILE *stream)
 
template<typename Context , typename ID >
FMT_CONSTEXPR Context::format_arg get_arg (Context &ctx, ID id)
 
template<typename T , typename OutputIt >
iterator_buffer< OutputIt, T > get_buffer (OutputIt)
 
template<typename T >
buffer< T > & get_buffer (buffer_appender< T >)
 
template<typename OutputIt >
OutputIt get_buffer_init (OutputIt out)
 
template<typename T >
buffer< T > & get_buffer_init (buffer_appender< T > out)
 
fp get_cached_power (int min_exponent, int &pow10_exponent)
 
template<typename Container >
Container & get_container (std::back_insert_iterator< Container > it)
 
template<typename Char >
Char * get_data (std::basic_string< Char > &s)
 
template<typename Container >
Container::value_type * get_data (Container &c)
 
template<template< typename > class Handler, typename FormatArg , typename ErrorHandler >
FMT_CONSTEXPR int get_dynamic_spec (FormatArg arg, ErrorHandler eh)
 
template<typename Buffer >
auto get_iterator (Buffer &buf) -> decltype(buf.out())
 
template<typename T >
buffer_appender< T > get_iterator (buffer< T > &buf)
 
template<typename Rep , typename Period , FMT_ENABLE_IF(std::is_integral< Rep >::value) >
std::chrono::duration< Rep, std::milli > get_milliseconds (std::chrono::duration< Rep, Period > d)
 
round_direction get_round_direction (uint64_t divisor, uint64_t remainder, uint64_t error)
 
int get_significand_size (const big_decimal_fp &fp)
 
template<typename T >
int get_significand_size (const dragonbox::decimal_fp< T > &fp)
 
template<typename Period >
FMT_CONSTEXPR const char * get_units ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::atto > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::centi > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::deca > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::deci > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::exa > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::femto > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::giga > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::hecto > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::kilo > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::mega > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::micro > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::milli > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::nano > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::peta > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::pico > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::ratio< 1 > > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::ratio< 3600 > > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::ratio< 60 > > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::tera > ()
 
null gmtime_r (...)
 
null gmtime_s (...)
 
template<typename Handler >
FMT_ALWAYS_INLINE digits::result grisu_gen_digits (fp value, uint64_t error, int &exp, Handler &handler)
 
template<typename Char >
std::string grouping (locale_ref loc)
 
template<>
std::string grouping< wchar_t > (locale_ref loc)
 
template<typename Char >
FMT_FUNC std::string grouping_impl (locale_ref loc)
 
template<typename Char >
FMT_API std::string grouping_impl (locale_ref loc)
 
template FMT_API std::string grouping_impl< char > (locale_ref loc)
 
template FMT_API std::string grouping_impl< wchar_t > (locale_ref loc)
 
template<typename Char , typename Handler >
FMT_CONSTEXPR void handle_char_specs (const basic_format_specs< Char > *specs, Handler &&handler)
 
template<typename Char , typename Handler >
FMT_CONSTEXPR void handle_cstring_type_spec (Char spec, Handler &&handler)
 
template<template< typename > class Handler, typename Context >
void handle_dynamic_spec (int &value, arg_ref< typename Context::char_type > ref, Context &ctx)
 
template<typename Handler >
FMT_CONSTEXPR void handle_int_type_spec (char spec, Handler &&handler)
 
template<typename Char >
void init_named_args (named_arg_info< Char > *, int, int)
 
template<typename Char , typename T , typename... Tail>
void init_named_args (named_arg_info< Char > *named_args, int arg_count, int named_arg_count, const T &, const Tail &...args)
 
template<typename Char , typename T , typename... Tail>
void init_named_args (named_arg_info< Char > *named_args, int arg_count, int named_arg_count, const named_arg< Char, T > &arg, const Tail &...args)
 
template<typename... Args>
FMT_INLINE void init_named_args (std::nullptr_t, int, int, const Args &...)
 
constexpr bool is_arithmetic_type (type t)
 
bool is_big_endian ()
 
constexpr bool is_integral_type (type t)
 
template<typename Char >
FMT_CONSTEXPR bool is_name_start (Char c)
 
template<typename T , FMT_ENABLE_IF(is_signed< T >::value) >
FMT_CONSTEXPR bool is_negative (T value)
 
template<typename T , FMT_ENABLE_IF(std::is_floating_point< T >::value) >
FMT_CONSTEXPR bool is_supported_floating_point (T)
 
template<typename Char >
constexpr bool is_unicode ()
 
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
bool isfinite (T)
 
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
bool isnan (T)
 
null localtime_s (...)
 
template<typename Context , typename T >
FMT_CONSTEXPR basic_format_arg< Context > make_arg (const T &value)
 
template<bool IS_PACKED, typename Context , type , typename T , FMT_ENABLE_IF(IS_PACKED) >
value< Context > make_arg (const T &val)
 
template<bool IS_PACKED, typename Context , type , typename T , FMT_ENABLE_IF(!IS_PACKED) >
basic_format_arg< Context > make_arg (const T &value)
 
template<typename T >
T * make_checked (T *p, size_t)
 
template<typename T >
constexpr T max_value ()
 
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
mod (T x, int y)
 
uint64_t multiply (uint64_t lhs, uint64_t rhs)
 
template<typename Char >
FMT_CONSTEXPR const Char * next_code_point (const Char *begin, const Char *end)
 
template<int SHIFT = 0>
fp normalize (fp value)
 
template<typename T >
constexpr int num_bits ()
 
template<>
constexpr int num_bits< fallback_uintptr > ()
 
template<>
constexpr int num_bits< int128_t > ()
 
template<>
constexpr int num_bits< uint128_t > ()
 
fp operator* (fp x, fp y)
 
bool operator== (fp x, fp y)
 
template<typename Char , typename Handler >
FMT_CONSTEXPR const Char * parse_align (const Char *begin, const Char *end, Handler &&handler)
 
template<typename Char , typename IDHandler >
FMT_CONSTEXPR const Char * parse_arg_id (const Char *begin, const Char *end, IDHandler &&handler)
 
template<typename Char , typename Handler >
FMT_CONSTEXPR const Char * parse_chrono_format (const Char *begin, const Char *end, Handler &&handler)
 
template<typename ErrorHandler = error_handler, typename Char >
FMT_CONSTEXPR float_specs parse_float_type_spec (const basic_format_specs< Char > &specs, ErrorHandler &&eh={})
 
template<typename Char , typename SpecHandler >
FMT_CONSTEXPR const Char * parse_format_specs (const Char *begin, const Char *end, SpecHandler &&handler)
 
template<typename T , typename ParseContext >
FMT_CONSTEXPR const ParseContext::char_typeparse_format_specs (ParseContext &ctx)
 
template<bool IS_CONSTEXPR, typename Char , typename Handler >
FMT_CONSTEXPR_DECL FMT_INLINE void parse_format_string (basic_string_view< Char > format_str, Handler &&handler)
 
template<typename Char , typename ErrorHandler >
FMT_CONSTEXPR int parse_nonnegative_int (const Char *&begin, const Char *end, ErrorHandler &&eh)
 
template<typename Char , typename Handler >
FMT_CONSTEXPR const Char * parse_precision (const Char *begin, const Char *end, Handler &&handler)
 
template<typename Char , typename Handler >
FMT_CONSTEXPR const Char * parse_replacement_field (const Char *begin, const Char *end, Handler &&handler)
 
template<typename Char , typename Handler >
FMT_CONSTEXPR const Char * parse_width (const Char *begin, const Char *end, Handler &&handler)
 
template<typename T >
promote_float (T value)
 
double promote_float (float value)
 
FMT_FUNC void report_error (format_func func, int error_code, string_view message) FMT_NOEXCEPT
 
template<typename Container , FMT_ENABLE_IF(is_contiguous< Container >::value) >
checked_ptr< typename Container::value_type > reserve (std::back_insert_iterator< Container > it, size_t n)
 
template<typename T >
buffer_appender< T > reserve (buffer_appender< T > it, size_t n)
 
template<typename Iterator >
Iterator & reserve (Iterator &it, size_t)
 
int safe_strerror (int error_code, char *&buffer, size_t buffer_size) FMT_NOEXCEPT
 
template<typename T >
int snprintf_float (T value, int precision, float_specs specs, buffer< char > &buf)
 
int snprintf_float (float value, int precision, float_specs specs, buffer< char > &buf)=delete
 
template int snprintf_float< double > (double value, int precision, float_specs specs, buffer< char > &buf)
 
template int snprintf_float< long double > (long double value, int precision, float_specs specs, buffer< char > &buf)
 
size_t strftime (char *str, size_t count, const char *format, const std::tm *time)
 
size_t strftime (wchar_t *str, size_t count, const wchar_t *format, const std::tm *time)
 
template<typename Char >
Char thousands_sep (locale_ref loc)
 
template<>
wchar_t thousands_sep (locale_ref loc)
 
template<typename Char >
FMT_FUNC Char thousands_sep_impl (locale_ref loc)
 
template<typename Char >
FMT_API Char thousands_sep_impl (locale_ref loc)
 
template FMT_API char thousands_sep_impl< char > (locale_ref loc)
 
template FMT_API wchar_t thousands_sep_impl< wchar_t > (locale_ref loc)
 
template<typename Char , FMT_ENABLE_IF(std::is_integral< Char >::value) >
constexpr Char to_integral (Char value)
 
template<typename Char , FMT_ENABLE_IF(std::is_enum< Char >::value) >
constexpr std::underlying_type< Char >::type to_integral (Char value)
 
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
int to_nonnegative_int (T value, int upper)
 
template<typename T , typename OutputIt >
constexpr T * to_pointer (OutputIt, size_t)
 
template<typename T >
T * to_pointer (buffer_appender< T > it, size_t n)
 
void to_string_view (...)
 
fallback_uintptr to_uintptr (const void *p)
 
template<typename Int >
FMT_CONSTEXPR std::make_unsigned< Int >::type to_unsigned (Int value)
 
template<typename T >
const T & unwrap (const T &v)
 
template<typename T >
const T & unwrap (const std::reference_wrapper< T > &v)
 
const char * utf8_decode (const char *buf, uint32_t *c, int *e)
 
template<typename Char , FMT_ENABLE_IF(!std::is_same< Char, char >::value) >
std::basic_string< Char > vformat (basic_string_view< Char > format_str, basic_format_args< buffer_context< type_identity_t< Char >>> args)
 
FMT_API std::string vformat (string_view format_str, format_args args)
 
template<typename Char >
buffer_appender< Char > vformat_to (buffer< Char > &buf, basic_string_view< Char > format_str, basic_format_args< FMT_BUFFER_CONTEXT(type_identity_t< Char >)> args)
 
template<typename Char , typename Args , FMT_ENABLE_IF(!std::is_same< Char, char >::value) >
void vprint_mojibake (std::FILE *, basic_string_view< Char >, const Args &)
 
FMT_API void vprint_mojibake (std::FILE *, string_view, format_args)
 
template<typename StrChar , typename Char , typename OutputIt >
OutputIt write (OutputIt out, basic_string_view< StrChar > s, const basic_format_specs< Char > &specs)
 
template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(std::is_floating_point< T >::value) >
OutputIt write (OutputIt out, T value, basic_format_specs< Char > specs, locale_ref loc={})
 
template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(is_fast_float< T >::value) >
OutputIt write (OutputIt out, T value)
 
template<typename Char , typename OutputIt >
OutputIt write (OutputIt out, monostate)
 
template<typename Char , typename OutputIt , FMT_ENABLE_IF(!std::is_same< Char, char >::value) >
OutputIt write (OutputIt out, string_view value)
 
template<typename Char , typename OutputIt >
OutputIt write (OutputIt out, basic_string_view< Char > value)
 
template<typename Char >
buffer_appender< Char > write (buffer_appender< Char > out, basic_string_view< Char > value)
 
template<typename Char , typename OutputIt >
OutputIt write (OutputIt out, bool value)
 
template<typename Char , typename OutputIt >
OutputIt write (OutputIt out, Char value)
 
template<typename Char , typename OutputIt >
OutputIt write (OutputIt out, const Char *value)
 
template<typename Char , typename OutputIt >
OutputIt write (OutputIt out, const void *value)
 
template<typename Char , typename OutputIt , typename T >
auto write (OutputIt out, const T &value) -> typename std::enable_if< mapped_type_constant< T, basic_format_context< OutputIt, Char >>::value==type::custom_type, OutputIt >::type
 
template<typename Char , typename OutputIt >
OutputIt write_bytes (OutputIt out, string_view bytes, const basic_format_specs< Char > &specs)
 
template<typename Char , typename OutputIt >
OutputIt write_char (OutputIt out, Char value, const basic_format_specs< Char > &specs)
 
template<typename Char , typename It >
It write_exponent (int exp, It it)
 
template<typename OutputIt , typename DecimalFP , typename Char >
OutputIt write_float (OutputIt out, const DecimalFP &fp, const basic_format_specs< Char > &specs, float_specs fspecs, Char decimal_point)
 
template<typename OutputIt , typename Char , typename F >
OutputIt write_int (OutputIt out, int num_digits, string_view prefix, const basic_format_specs< Char > &specs, F f)
 
template<typename Char , typename OutputIt >
OutputIt write_nonfinite (OutputIt out, bool isinf, const basic_format_specs< Char > &specs, const float_specs &fspecs)
 
template<align::type align = align::left, typename OutputIt , typename Char , typename F >
OutputIt write_padded (OutputIt out, const basic_format_specs< Char > &specs, size_t size, size_t width, F &&f)
 
template<align::type align = align::left, typename OutputIt , typename Char , typename F >
OutputIt write_padded (OutputIt out, const basic_format_specs< Char > &specs, size_t size, F &&f)
 
template<typename Char , typename OutputIt , typename UIntPtr >
OutputIt write_ptr (OutputIt out, UIntPtr value, const basic_format_specs< Char > *specs)
 
template<typename Char , typename OutputIt >
OutputIt write_significand (OutputIt out, const char *significand, int &significand_size)
 
template<typename Char , typename OutputIt , typename UInt >
OutputIt write_significand (OutputIt out, UInt significand, int significand_size)
 
template<typename Char , typename UInt , FMT_ENABLE_IF(std::is_integral< UInt >::value) >
Char * write_significand (Char *out, UInt significand, int significand_size, int integral_size, Char decimal_point)
 
template<typename OutputIt , typename UInt , typename Char , FMT_ENABLE_IF(!std::is_pointer< remove_cvref_t< OutputIt >>::value) >
OutputIt write_significand (OutputIt out, UInt significand, int significand_size, int integral_size, Char decimal_point)
 
template<typename OutputIt , typename Char >
OutputIt write_significand (OutputIt out, const char *significand, int significand_size, int integral_size, Char decimal_point)
 

Variables

FMT_EXTERN template struct basic_data< void >
 

Typedef Documentation

template<typename T >
using detail::checked_ptr = typedef T*

Definition at line 364 of file format.h.

using detail::format_func = typedef void (*)(detail::buffer<char>&, int, string_view)

Definition at line 3195 of file format.h.

template<typename T , typename Context >
using detail::has_fallback_formatter = typedef std::is_constructible<fallback_formatter<T, typename Context::char_type>>

Definition at line 895 of file core.h.

template<typename T >
using detail::is_fast_float = typedef bool_constant<std::numeric_limits<T>::is_iec559 && sizeof(T) <= sizeof(double)>

Definition at line 592 of file format.h.

template<typename T >
using detail::is_integer = typedef bool_constant<is_integral<T>::value && !std::is_same<T, bool>::value && !std::is_same<T, char>::value && !std::is_same<T, wchar_t>::value>

Definition at line 2351 of file format.h.

template<typename T >
using detail::is_signed = typedef std::integral_constant<bool, std::numeric_limits<T>::is_signed || std::is_same<T, int128_t>::value>

Definition at line 787 of file format.h.

template<typename T >
using detail::iterator_t = typedef decltype(std::begin(std::declval<T&>()))

Definition at line 345 of file format.h.

using detail::long_type = typedef conditional_t<long_short, int, long long>

Definition at line 1112 of file core.h.

template<typename T , typename Context >
using detail::mapped_type_constant = typedef type_constant<decltype(arg_mapper<Context>().map(std::declval<const T&>())), typename Context::char_type>

Definition at line 1232 of file core.h.

template<typename InputIt , typename OutChar >
using detail::needs_conversion = typedef bool_constant< std::is_same<typename std::iterator_traits<InputIt>::value_type, char>::value && std::is_same<OutChar, char8_type>::value>

Definition at line 569 of file format.h.

template<typename T >
using detail::sentinel_t = typedef decltype(std::end(std::declval<T&>()))

Definition at line 346 of file format.h.

template<typename T >
using detail::uint32_or_64_or_128_t = typedef conditional_t<num_bits<T>() <= 32 && !FMT_REDUCE_INT_INSTANTIATIONS, uint32_t, conditional_t<num_bits<T>() <= 64, uint64_t, uint128_t>>

Definition at line 813 of file format.h.

Definition at line 314 of file format.h.

using detail::ulong_type = typedef conditional_t<long_short, unsigned, unsigned long long>

Definition at line 1113 of file core.h.

template<typename... Ts>
using detail::void_t = typedef typename detail::void_t_impl<Ts...>::type

Definition at line 1357 of file core.h.

Enumeration Type Documentation

anonymous enum
Enumerator
long_short 

Definition at line 1111 of file core.h.

anonymous enum
Enumerator
packed_arg_bits 

Definition at line 1234 of file core.h.

anonymous enum
Enumerator
max_packed_args 

Definition at line 1236 of file core.h.

anonymous enum : unsigned long long
Enumerator
is_unpacked_bit 

Definition at line 1237 of file core.h.

anonymous enum : unsigned long long
Enumerator
has_named_args_bit 

Definition at line 1238 of file core.h.

enum detail::arg_id_kind
strong
Enumerator
none 
index 
name 

Definition at line 2570 of file format.h.

enum detail::char8_type : unsigned char

Definition at line 332 of file core.h.

enum detail::float_format : unsigned char
strong
Enumerator
general 
exp 
fixed 
hex 

Definition at line 1280 of file format.h.

Enumerator
standard 
alternative 

Definition at line 465 of file chrono.h.

Enumerator
unknown 
up 
down 

Definition at line 1467 of file format-inl.h.

enum detail::type
strong
Enumerator
none_type 
int_type 
uint_type 
long_long_type 
ulong_long_type 
int128_type 
uint128_type 
bool_type 
char_type 
last_integer_type 
float_type 
double_type 
long_double_type 
last_numeric_type 
cstring_type 
string_type 
pointer_type 
custom_type 

Definition at line 969 of file core.h.

Function Documentation

FMT_FUNC void detail::assert_fail ( const char *  file,
int  line,
const char *  message 
)

Definition at line 38 of file format-inl.h.

FMT_INLINE void detail::assume ( bool  condition)

Definition at line 336 of file format.h.

template<typename Container , FMT_ENABLE_IF(is_contiguous< Container >::value) >
std::back_insert_iterator<Container> detail::base_iterator ( std::back_insert_iterator< Container > &  it,
checked_ptr< typename Container::value_type >   
)
inline

Definition at line 404 of file format.h.

template<typename Iterator >
Iterator detail::base_iterator ( Iterator  ,
Iterator  it 
)
inline

Definition at line 411 of file format.h.

template<typename Dest , typename Source >
Dest detail::bit_cast ( const Source &  source)
inline

Definition at line 282 of file format.h.

FMT_INLINE uint16_t detail::bsr2log10 ( int  bsr)

Definition at line 898 of file format.h.

template<typename T >
int detail::check ( unformattable  )

Definition at line 1437 of file core.h.

template<typename T , typename U >
const U& detail::check ( const U &  val)
inline

Definition at line 1444 of file core.h.

template<typename... , typename S , FMT_ENABLE_IF(!is_compile_string< S >::value) >
FMT_INLINE void detail::check_format_string ( const S &  )

Definition at line 512 of file core.h.

template<typename... , typename S , FMT_ENABLE_IF(is_compile_string< S >::value) >
void detail::check_format_string ( format_str)

Definition at line 3169 of file format.h.

template<typename Char , typename ErrorHandler >
FMT_CONSTEXPR void detail::check_pointer_type_spec ( Char  spec,
ErrorHandler &&  eh 
)

Definition at line 1437 of file format.h.

template<typename Char , typename ErrorHandler >
FMT_CONSTEXPR void detail::check_string_type_spec ( Char  spec,
ErrorHandler &&  eh 
)

Definition at line 1432 of file format.h.

template<typename Char >
size_t detail::code_point_index ( basic_string_view< Char >  s,
size_t  n 
)
inline

Definition at line 548 of file format.h.

size_t detail::code_point_index ( basic_string_view< char8_type s,
size_t  n 
)
inline

Definition at line 554 of file format.h.

template<typename Char , size_t N>
FMT_CONSTEXPR basic_string_view<Char> detail::compile_string_to_view ( const Char(&)  s[N])

Definition at line 3127 of file format.h.

template<typename Char >
FMT_CONSTEXPR basic_string_view<Char> detail::compile_string_to_view ( const std_string_view< Char > &  s)

Definition at line 3137 of file format.h.

template<typename T >
constexpr T detail::const_check ( value)

Definition at line 274 of file core.h.

template<typename Char >
void detail::copy2 ( Char *  dst,
const char *  src 
)

Definition at line 1030 of file format.h.

FMT_INLINE void detail::copy2 ( char *  dst,
const char *  src 
)

Definition at line 1034 of file format.h.

template<typename OutChar , typename InputIt , typename OutputIt , FMT_ENABLE_IF(!needs_conversion< InputIt, OutChar >::value) >
OutputIt detail::copy_str ( InputIt  begin,
InputIt  end,
OutputIt  it 
)

Definition at line 573 of file format.h.

template<typename Char , typename InputIt >
counting_iterator detail::copy_str ( InputIt  begin,
InputIt  end,
counting_iterator  it 
)
inline

Definition at line 585 of file format.h.

template<typename Char , typename OutputIt >
OutputIt detail::copy_unit ( string_view  unit,
OutputIt  out,
Char   
)

Definition at line 767 of file chrono.h.

template<typename OutputIt >
OutputIt detail::copy_unit ( string_view  unit,
OutputIt  out,
wchar_t   
)

Definition at line 772 of file chrono.h.

template<bool B = false>
constexpr size_t detail::count ( )

Definition at line 960 of file core.h.

template<bool B1, bool B2, bool... Tail>
constexpr size_t detail::count ( )

Definition at line 961 of file core.h.

template<typename Char >
size_t detail::count_code_points ( basic_string_view< Char >  s)
inline

Definition at line 528 of file format.h.

size_t detail::count_code_points ( basic_string_view< char >  s)
inline

Definition at line 533 of file format.h.

size_t detail::count_code_points ( basic_string_view< char8_type s)
inline

Definition at line 542 of file format.h.

int detail::count_digits ( uint64_t  n)
inline

Definition at line 924 of file format.h.

template<unsigned BITS, typename UInt >
int detail::count_digits ( UInt  n)
inline

Definition at line 958 of file format.h.

Definition at line 222 of file format-inl.h.

template<>
int detail::count_digits< 4 > ( detail::fallback_uintptr  n)

Definition at line 222 of file format-inl.h.

template<typename... Args>
constexpr size_t detail::count_named_args ( )

Definition at line 965 of file core.h.

template<typename Char >
Char detail::decimal_point ( locale_ref  loc)
inline

Definition at line 1014 of file format.h.

template<>
wchar_t detail::decimal_point ( locale_ref  loc)
inline

Definition at line 1017 of file format.h.

template<typename Char >
template FMT_API wchar_t detail::decimal_point_impl ( locale_ref  loc)

Definition at line 190 of file format-inl.h.

template<typename Char >
FMT_API Char detail::decimal_point_impl ( locale_ref  loc)

Definition at line 190 of file format-inl.h.

template<typename Int >
constexpr int detail::digits10 ( )

Definition at line 991 of file format.h.

template<>
constexpr int detail::digits10< int128_t > ( )

Definition at line 994 of file format.h.

template<>
constexpr int detail::digits10< uint128_t > ( )

Definition at line 995 of file format.h.

template<typename >
constexpr unsigned long long detail::encode_types ( )

Definition at line 1421 of file core.h.

template<typename Context , typename Arg , typename... Args>
constexpr unsigned long long detail::encode_types ( )

Definition at line 1424 of file core.h.

template<typename Char >
bool detail::equal2 ( const Char *  lhs,
const char *  rhs 
)

Definition at line 1022 of file format.h.

bool detail::equal2 ( const char *  lhs,
const char *  rhs 
)
inline

Definition at line 1025 of file format.h.

template<typename T >
constexpr dragonbox::float_info<T>::carrier_uint detail::exponent_mask ( )

Definition at line 1273 of file format.h.

template<typename Double >
void detail::fallback_format ( Double  d,
int  num_digits,
bool  binary32,
buffer< char > &  buf,
int &  exp10 
)

Definition at line 2303 of file format-inl.h.

template<typename OutputIt , typename Char >
FMT_NOINLINE OutputIt detail::fill ( OutputIt  it,
size_t  n,
const fill_t< Char > &  fill 
)

Definition at line 1483 of file format.h.

template<bool IS_CONSTEXPR, typename T , typename Ptr = const T*>
FMT_CONSTEXPR bool detail::find ( Ptr  first,
Ptr  last,
value,
Ptr &  out 
)

Definition at line 2881 of file format.h.

template<>
bool detail::find< false, char > ( const char *  first,
const char *  last,
char  value,
const char *&  out 
)
inline

Definition at line 2889 of file format.h.

null localtime_r detail::FMT_NOMACRO (   ...)
inline

Definition at line 285 of file chrono.h.

template<typename To , typename FromRep , typename FromPeriod >
To detail::fmt_safe_duration_cast ( std::chrono::duration< FromRep, FromPeriod >  from)

Definition at line 715 of file chrono.h.

detail::FMT_SUPPRESS_MSC_WARNING ( 4566  ) const
detail::FMT_TYPE_CONSTANT ( int  ,
int_type   
)
detail::FMT_TYPE_CONSTANT ( unsigned  ,
uint_type   
)
detail::FMT_TYPE_CONSTANT ( long  long,
long_long_type   
)
detail::FMT_TYPE_CONSTANT ( unsigned long  long,
ulong_long_type   
)
detail::FMT_TYPE_CONSTANT ( int128_t  ,
int128_type   
)
detail::FMT_TYPE_CONSTANT ( uint128_t  ,
uint128_type   
)
detail::FMT_TYPE_CONSTANT ( bool  ,
bool_type   
)
detail::FMT_TYPE_CONSTANT ( Char  ,
char_type   
)
detail::FMT_TYPE_CONSTANT ( float  ,
float_type   
)
detail::FMT_TYPE_CONSTANT ( double  ,
double_type   
)
detail::FMT_TYPE_CONSTANT ( long  double,
long_double_type   
)
detail::FMT_TYPE_CONSTANT ( const Char *  ,
cstring_type   
)
detail::FMT_TYPE_CONSTANT ( basic_string_view< Char >  ,
string_type   
)
detail::FMT_TYPE_CONSTANT ( const void *  ,
pointer_type   
)
template<typename Char , typename UInt >
format_decimal_result<Char*> detail::format_decimal ( Char *  out,
UInt  value,
int  size 
)
inline

Definition at line 1045 of file format.h.

template<typename Char , typename UInt , typename Iterator , FMT_ENABLE_IF(!std::is_pointer< remove_cvref_t< Iterator >>::value) >
format_decimal_result<Iterator> detail::format_decimal ( Iterator  out,
UInt  value,
int  size 
)
inline

Definition at line 1069 of file format.h.

template<typename Char , typename Period , typename OutputIt >
OutputIt detail::format_duration_unit ( OutputIt  out)

Definition at line 780 of file chrono.h.

template<typename Char , typename Rep , typename OutputIt >
OutputIt detail::format_duration_value ( OutputIt  out,
Rep  val,
int  precision 
)

Definition at line 758 of file chrono.h.

FMT_API void detail::format_error_code ( detail::buffer< char > &  out,
int  error_code,
string_view  message 
)

Definition at line 130 of file format-inl.h.

template<typename T >
int detail::format_float ( value,
int  precision,
float_specs  specs,
buffer< char > &  buf 
)

Definition at line 2420 of file format-inl.h.

template int detail::format_float< double > ( double  value,
int  precision,
float_specs  specs,
buffer< char > &  buf 
)
template int detail::format_float< long double > ( long double  value,
int  precision,
float_specs  specs,
buffer< char > &  buf 
)
template<unsigned BASE_BITS, typename Char , typename UInt >
Char* detail::format_uint ( Char *  buffer,
UInt  value,
int  num_digits,
bool  upper = false 
)
inline

Definition at line 1078 of file format.h.

template<unsigned BASE_BITS, typename Char >
Char* detail::format_uint ( Char *  buffer,
detail::fallback_uintptr  n,
int  num_digits,
bool  = false 
)

Definition at line 1092 of file format.h.

template<unsigned BASE_BITS, typename Char , typename It , typename UInt >
It detail::format_uint ( It  out,
UInt  value,
int  num_digits,
bool  upper = false 
)
inline

Definition at line 1114 of file format.h.

void detail::fwrite_fully ( const void *  ptr,
size_t  size,
size_t  count,
FILE *  stream 
)
inline

Definition at line 163 of file format-inl.h.

template<typename Context , typename ID >
FMT_CONSTEXPR Context::format_arg detail::get_arg ( Context &  ctx,
ID  id 
)

Definition at line 2518 of file format.h.

template<typename T , typename OutputIt >
iterator_buffer<OutputIt, T> detail::get_buffer ( OutputIt  )
template<typename T >
buffer<T>& detail::get_buffer ( buffer_appender< T >  )
template<typename OutputIt >
OutputIt detail::get_buffer_init ( OutputIt  out)

Definition at line 872 of file core.h.

template<typename T >
buffer<T>& detail::get_buffer_init ( buffer_appender< T >  out)

Definition at line 875 of file core.h.

fp detail::get_cached_power ( int  min_exponent,
int &  pow10_exponent 
)
inline

Definition at line 1191 of file format-inl.h.

template<typename Container >
Container& detail::get_container ( std::back_insert_iterator< Container >  it)
inline

Definition at line 642 of file core.h.

template<typename Char >
Char* detail::get_data ( std::basic_string< Char > &  s)
inline

Definition at line 349 of file format.h.

template<typename Container >
Container::value_type* detail::get_data ( Container &  c)
inline

Definition at line 353 of file format.h.

template<template< typename > class Handler, typename FormatArg , typename ErrorHandler >
FMT_CONSTEXPR int detail::get_dynamic_spec ( FormatArg  arg,
ErrorHandler  eh 
)

Definition at line 2509 of file format.h.

template<typename Buffer >
auto detail::get_iterator ( Buffer &  buf) -> decltype(buf.out())

Definition at line 880 of file core.h.

template<typename T >
buffer_appender<T> detail::get_iterator ( buffer< T > &  buf)

Definition at line 883 of file core.h.

template<typename Rep , typename Period , FMT_ENABLE_IF(std::is_integral< Rep >::value) >
std::chrono::duration< Rep, std::milli > detail::get_milliseconds ( std::chrono::duration< Rep, Period >  d)
inline

Definition at line 725 of file chrono.h.

round_direction detail::get_round_direction ( uint64_t  divisor,
uint64_t  remainder,
uint64_t  error 
)
inline

Definition at line 1473 of file format-inl.h.

int detail::get_significand_size ( const big_decimal_fp fp)
inline

Definition at line 1741 of file format.h.

template<typename T >
int detail::get_significand_size ( const dragonbox::decimal_fp< T > &  fp)
inline

Definition at line 1745 of file format.h.

template<typename Period >
FMT_CONSTEXPR const char* detail::get_units ( )

Definition at line 438 of file chrono.h.

template<>
FMT_CONSTEXPR const char* detail::get_units< std::atto > ( )

Definition at line 441 of file chrono.h.

template<>
FMT_CONSTEXPR const char* detail::get_units< std::centi > ( )

Definition at line 447 of file chrono.h.

template<>
FMT_CONSTEXPR const char* detail::get_units< std::deca > ( )

Definition at line 450 of file chrono.h.

template<>
FMT_CONSTEXPR const char* detail::get_units< std::deci > ( )

Definition at line 448 of file chrono.h.

template<>
FMT_CONSTEXPR const char* detail::get_units< std::exa > ( )

Definition at line 457 of file chrono.h.

template<>
FMT_CONSTEXPR const char* detail::get_units< std::femto > ( )

Definition at line 442 of file chrono.h.

template<>
FMT_CONSTEXPR const char* detail::get_units< std::giga > ( )

Definition at line 454 of file chrono.h.

template<>
FMT_CONSTEXPR const char* detail::get_units< std::hecto > ( )

Definition at line 451 of file chrono.h.

template<>
FMT_CONSTEXPR const char* detail::get_units< std::kilo > ( )

Definition at line 452 of file chrono.h.

template<>
FMT_CONSTEXPR const char* detail::get_units< std::mega > ( )

Definition at line 453 of file chrono.h.

template<>
FMT_CONSTEXPR const char* detail::get_units< std::micro > ( )

Definition at line 445 of file chrono.h.

template<>
FMT_CONSTEXPR const char* detail::get_units< std::milli > ( )

Definition at line 446 of file chrono.h.

template<>
FMT_CONSTEXPR const char* detail::get_units< std::nano > ( )

Definition at line 444 of file chrono.h.

template<>
FMT_CONSTEXPR const char* detail::get_units< std::peta > ( )

Definition at line 456 of file chrono.h.

template<>
FMT_CONSTEXPR const char* detail::get_units< std::pico > ( )

Definition at line 443 of file chrono.h.

template<>
FMT_CONSTEXPR const char* detail::get_units< std::ratio< 1 > > ( )

Definition at line 449 of file chrono.h.

template<>
FMT_CONSTEXPR const char* detail::get_units< std::ratio< 3600 > > ( )

Definition at line 461 of file chrono.h.

template<>
FMT_CONSTEXPR const char* detail::get_units< std::ratio< 60 > > ( )

Definition at line 458 of file chrono.h.

template<>
FMT_CONSTEXPR const char* detail::get_units< std::tera > ( )

Definition at line 455 of file chrono.h.

null detail::gmtime_r (   ...)
inline

Definition at line 287 of file chrono.h.

null detail::gmtime_s (   ...)
inline

Definition at line 288 of file chrono.h.

template<typename Handler >
FMT_ALWAYS_INLINE digits::result detail::grisu_gen_digits ( fp  value,
uint64_t  error,
int &  exp,
Handler &  handler 
)

Definition at line 1501 of file format-inl.h.

template<typename Char >
std::string detail::grouping ( locale_ref  loc)
inline

Definition at line 998 of file format.h.

template<>
std::string detail::grouping< wchar_t > ( locale_ref  loc)
inline

Definition at line 1001 of file format.h.

template<typename Char >
FMT_FUNC std::string detail::grouping_impl ( locale_ref  loc)

Definition at line 183 of file format-inl.h.

template<typename Char >
FMT_API std::string detail::grouping_impl ( locale_ref  loc)

Definition at line 183 of file format-inl.h.

template FMT_API std::string detail::grouping_impl< char > ( locale_ref  loc)
template FMT_API std::string detail::grouping_impl< wchar_t > ( locale_ref  loc)
template<typename Char , typename Handler >
FMT_CONSTEXPR void detail::handle_char_specs ( const basic_format_specs< Char > *  specs,
Handler &&  handler 
)

Definition at line 1412 of file format.h.

template<typename Char , typename Handler >
FMT_CONSTEXPR void detail::handle_cstring_type_spec ( Char  spec,
Handler &&  handler 
)

Definition at line 1422 of file format.h.

template<template< typename > class Handler, typename Context >
void detail::handle_dynamic_spec ( int &  value,
arg_ref< typename Context::char_type ref,
Context &  ctx 
)

Definition at line 3179 of file format.h.

template<typename Handler >
FMT_CONSTEXPR void detail::handle_int_type_spec ( char  spec,
Handler &&  handler 
)

Definition at line 1331 of file format.h.

template<typename Char >
void detail::init_named_args ( named_arg_info< Char > *  ,
int  ,
int   
)
inline

Definition at line 936 of file core.h.

template<typename Char , typename T , typename... Tail>
void detail::init_named_args ( named_arg_info< Char > *  named_args,
int  arg_count,
int  named_arg_count,
const T &  ,
const Tail &...  args 
)

Definition at line 939 of file core.h.

template<typename Char , typename T , typename... Tail>
void detail::init_named_args ( named_arg_info< Char > *  named_args,
int  arg_count,
int  named_arg_count,
const named_arg< Char, T > &  arg,
const Tail &...  args 
)

Definition at line 945 of file core.h.

template<typename... Args>
FMT_INLINE void detail::init_named_args ( std::nullptr_t  ,
int  ,
int  ,
const Args &  ... 
)

Definition at line 953 of file core.h.

constexpr bool detail::is_arithmetic_type ( type  t)

Definition at line 1020 of file core.h.

bool detail::is_big_endian ( )
inline

Definition at line 289 of file format.h.

constexpr bool detail::is_integral_type ( type  t)

Definition at line 1016 of file core.h.

template<typename Char >
FMT_CONSTEXPR bool detail::is_name_start ( Char  c)

Definition at line 2300 of file format.h.

template<typename T , FMT_ENABLE_IF(is_signed< T >::value) >
FMT_CONSTEXPR bool detail::is_negative ( value)

Definition at line 792 of file format.h.

template<typename T , FMT_ENABLE_IF(std::is_floating_point< T >::value) >
FMT_CONSTEXPR bool detail::is_supported_floating_point ( )

Definition at line 801 of file format.h.

template<typename Char >
constexpr bool detail::is_unicode ( )

Definition at line 324 of file core.h.

template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
bool detail::isfinite ( value)
inline

Definition at line 668 of file chrono.h.

template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
bool detail::isnan ( value)
inline

Definition at line 659 of file chrono.h.

null detail::localtime_s (   ...)
inline

Definition at line 286 of file chrono.h.

template<typename Context , typename T >
FMT_CONSTEXPR basic_format_arg< Context > detail::make_arg ( const T &  value)

Definition at line 1430 of file core.h.

template<bool IS_PACKED, typename Context , type , typename T , FMT_ENABLE_IF(IS_PACKED) >
value<Context> detail::make_arg ( const T &  val)
inline

Definition at line 1453 of file core.h.

template<bool IS_PACKED, typename Context , type , typename T , FMT_ENABLE_IF(!IS_PACKED) >
basic_format_arg<Context> detail::make_arg ( const T &  value)
inline

Definition at line 1459 of file core.h.

template<typename T >
T* detail::make_checked ( T *  p,
size_t   
)
inline

Definition at line 365 of file format.h.

template<typename T >
constexpr T detail::max_value ( )

Definition at line 322 of file format.h.

template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
T detail::mod ( x,
int  y 
)
inline

Definition at line 693 of file chrono.h.

uint64_t detail::multiply ( uint64_t  lhs,
uint64_t  rhs 
)
inline

Definition at line 1170 of file format-inl.h.

template<typename Char >
FMT_CONSTEXPR const Char* detail::next_code_point ( const Char *  begin,
const Char *  end 
)

Definition at line 2726 of file format.h.

template<int SHIFT = 0>
fp detail::normalize ( fp  value)

Definition at line 1152 of file format-inl.h.

template<typename T >
constexpr int detail::num_bits ( )

Definition at line 325 of file format.h.

template<>
constexpr int detail::num_bits< fallback_uintptr > ( )

Definition at line 331 of file format.h.

template<>
constexpr int detail::num_bits< int128_t > ( )

Definition at line 329 of file format.h.

template<>
constexpr int detail::num_bits< uint128_t > ( )

Definition at line 330 of file format.h.

fp detail::operator* ( fp  x,
fp  y 
)
inline

Definition at line 1187 of file format-inl.h.

bool detail::operator== ( fp  x,
fp  y 
)
inline

Definition at line 1167 of file format-inl.h.

template<typename Char , typename Handler >
FMT_CONSTEXPR const Char* detail::parse_align ( const Char *  begin,
const Char *  end,
Handler &&  handler 
)

Definition at line 2747 of file format.h.

template<typename Char , typename IDHandler >
FMT_CONSTEXPR const Char* detail::parse_arg_id ( const Char *  begin,
const Char *  end,
IDHandler &&  handler 
)

Definition at line 2659 of file format.h.

template<typename Char , typename Handler >
FMT_CONSTEXPR const Char* detail::parse_chrono_format ( const Char *  begin,
const Char *  end,
Handler &&  handler 
)

Definition at line 473 of file chrono.h.

template<typename ErrorHandler = error_handler, typename Char >
FMT_CONSTEXPR float_specs detail::parse_float_type_spec ( const basic_format_specs< Char > &  specs,
ErrorHandler &&  eh = {} 
)

Definition at line 1363 of file format.h.

template<typename Char , typename SpecHandler >
FMT_CONSTEXPR const Char* detail::parse_format_specs ( const Char *  begin,
const Char *  end,
SpecHandler &&  handler 
)

Definition at line 2831 of file format.h.

template<typename T , typename ParseContext >
FMT_CONSTEXPR const ParseContext::char_type* detail::parse_format_specs ( ParseContext &  ctx)

Definition at line 2988 of file format.h.

template<bool IS_CONSTEXPR, typename Char , typename Handler >
FMT_CONSTEXPR_DECL FMT_INLINE void detail::parse_format_string ( basic_string_view< Char >  format_str,
Handler &&  handler 
)

Definition at line 2938 of file format.h.

template<typename Char , typename ErrorHandler >
FMT_CONSTEXPR int detail::parse_nonnegative_int ( const Char *&  begin,
const Char *  end,
ErrorHandler &&  eh 
)

Definition at line 2307 of file format.h.

template<typename Char , typename Handler >
FMT_CONSTEXPR const Char* detail::parse_precision ( const Char *  begin,
const Char *  end,
Handler &&  handler 
)

Definition at line 2807 of file format.h.

template<typename Char , typename Handler >
FMT_CONSTEXPR const Char* detail::parse_replacement_field ( const Char *  begin,
const Char *  end,
Handler &&  handler 
)

Definition at line 2911 of file format.h.

template<typename Char , typename Handler >
FMT_CONSTEXPR const Char* detail::parse_width ( const Char *  begin,
const Char *  end,
Handler &&  handler 
)

Definition at line 2790 of file format.h.

template<typename T >
T detail::promote_float ( value)

Definition at line 1327 of file format.h.

double detail::promote_float ( float  value)
inline

Definition at line 1328 of file format.h.

FMT_API void detail::report_error ( format_func  func,
int  error_code,
string_view  message 
)

Definition at line 153 of file format-inl.h.

template<typename Container , FMT_ENABLE_IF(is_contiguous< Container >::value) >
checked_ptr<typename Container::value_type> detail::reserve ( std::back_insert_iterator< Container >  it,
size_t  n 
)
inline

Definition at line 373 of file format.h.

template<typename T >
buffer_appender<T> detail::reserve ( buffer_appender< T >  it,
size_t  n 
)
inline

Definition at line 381 of file format.h.

template<typename Iterator >
Iterator& detail::reserve ( Iterator &  it,
size_t   
)
inline

Definition at line 387 of file format.h.

int detail::safe_strerror ( int  error_code,
char *&  buffer,
size_t  buffer_size 
)
inline

Definition at line 69 of file format-inl.h.

template<typename T >
int detail::snprintf_float ( value,
int  precision,
float_specs  specs,
buffer< char > &  buf 
)

Definition at line 2483 of file format-inl.h.

int detail::snprintf_float ( float  value,
int  precision,
float_specs  specs,
buffer< char > &  buf 
)
delete
template int detail::snprintf_float< double > ( double  value,
int  precision,
float_specs  specs,
buffer< char > &  buf 
)
template int detail::snprintf_float< long double > ( long double  value,
int  precision,
float_specs  specs,
buffer< char > &  buf 
)
size_t detail::strftime ( char *  str,
size_t  count,
const char *  format,
const std::tm *  time 
)
inline

Definition at line 375 of file chrono.h.

size_t detail::strftime ( wchar_t *  str,
size_t  count,
const wchar_t *  format,
const std::tm *  time 
)
inline

Definition at line 380 of file chrono.h.

template<typename Char >
Char detail::thousands_sep ( locale_ref  loc)
inline

Definition at line 1006 of file format.h.

template<>
wchar_t detail::thousands_sep ( locale_ref  loc)
inline

Definition at line 1009 of file format.h.

template<typename Char >
FMT_FUNC Char detail::thousands_sep_impl ( locale_ref  loc)

Definition at line 186 of file format-inl.h.

template<typename Char >
FMT_API Char detail::thousands_sep_impl ( locale_ref  loc)

Definition at line 186 of file format-inl.h.

template<typename Char , FMT_ENABLE_IF(std::is_integral< Char >::value) >
constexpr Char detail::to_integral ( Char  value)

Definition at line 2736 of file format.h.

template<typename Char , FMT_ENABLE_IF(std::is_enum< Char >::value) >
constexpr std::underlying_type<Char>::type detail::to_integral ( Char  value)

Definition at line 2741 of file format.h.

template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
int detail::to_nonnegative_int ( value,
int  upper 
)
inline

Definition at line 678 of file chrono.h.

template<typename T , typename OutputIt >
constexpr T* detail::to_pointer ( OutputIt  ,
size_t   
)

Definition at line 392 of file format.h.

template<typename T >
T* detail::to_pointer ( buffer_appender< T >  it,
size_t  n 
)

Definition at line 395 of file format.h.

void detail::to_string_view (   ...)
fallback_uintptr detail::to_uintptr ( const void *  p)
inline

Definition at line 315 of file format.h.

template<typename Int >
FMT_CONSTEXPR std::make_unsigned<Int>::type detail::to_unsigned ( Int  value)

Definition at line 317 of file core.h.

template<typename T >
const T& detail::unwrap ( const T &  v)

Definition at line 1467 of file core.h.

template<typename T >
const T& detail::unwrap ( const std::reference_wrapper< T > &  v)

Definition at line 1468 of file core.h.

const char* detail::utf8_decode ( const char *  buf,
uint32_t *  c,
int *  e 
)
inline

Definition at line 2603 of file format-inl.h.

template<typename Char , FMT_ENABLE_IF(!std::is_same< Char, char >::value) >
std::basic_string< Char > detail::vformat ( basic_string_view< Char >  format_str,
basic_format_args< buffer_context< type_identity_t< Char >>>  args 
)

Definition at line 3838 of file format.h.

FMT_FUNC std::string detail::vformat ( string_view  format_str,
format_args  args 
)

Definition at line 2742 of file format-inl.h.

template<typename Char >
buffer_appender<Char> detail::vformat_to ( buffer< Char > &  buf,
basic_string_view< Char >  format_str,
basic_format_args< FMT_BUFFER_CONTEXT(type_identity_t< Char >)>  args 
)
template<typename Char , typename Args , FMT_ENABLE_IF(!std::is_same< Char, char >::value) >
void detail::vprint_mojibake ( std::FILE *  ,
basic_string_view< Char >  ,
const Args &   
)
inline

Definition at line 1974 of file core.h.

void detail::vprint_mojibake ( std::FILE *  ,
string_view  ,
format_args   
)
inline

Definition at line 1978 of file core.h.

template<typename StrChar , typename Char , typename OutputIt >
OutputIt detail::write ( OutputIt  out,
basic_string_view< StrChar >  s,
const basic_format_specs< Char > &  specs 
)

Definition at line 1568 of file format.h.

template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(std::is_floating_point< T >::value) >
OutputIt detail::write ( OutputIt  out,
value,
basic_format_specs< Char >  specs,
locale_ref  loc = {} 
)

Definition at line 1898 of file format.h.

template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(is_fast_float< T >::value) >
OutputIt detail::write ( OutputIt  out,
value 
)
inline

Definition at line 1946 of file format.h.

template<typename Char , typename OutputIt >
OutputIt detail::write ( OutputIt  out,
monostate   
)

Definition at line 2006 of file format.h.

template<typename Char , typename OutputIt , FMT_ENABLE_IF(!std::is_same< Char, char >::value) >
OutputIt detail::write ( OutputIt  out,
string_view  value 
)

Definition at line 2013 of file format.h.

template<typename Char , typename OutputIt >
OutputIt detail::write ( OutputIt  out,
basic_string_view< Char >  value 
)

Definition at line 2020 of file format.h.

template<typename Char >
buffer_appender<Char> detail::write ( buffer_appender< Char >  out,
basic_string_view< Char >  value 
)

Definition at line 2027 of file format.h.

template<typename Char , typename OutputIt >
OutputIt detail::write ( OutputIt  out,
bool  value 
)

Definition at line 2056 of file format.h.

template<typename Char , typename OutputIt >
OutputIt detail::write ( OutputIt  out,
Char  value 
)

Definition at line 2061 of file format.h.

template<typename Char , typename OutputIt >
OutputIt detail::write ( OutputIt  out,
const Char *  value 
)

Definition at line 2068 of file format.h.

template<typename Char , typename OutputIt >
OutputIt detail::write ( OutputIt  out,
const void *  value 
)

Definition at line 2079 of file format.h.

template<typename Char , typename OutputIt , typename T >
auto detail::write ( OutputIt  out,
const T &  value 
) -> typename std::enable_if< mapped_type_constant<T, basic_format_context<OutputIt, Char>>::value == type::custom_type, OutputIt>::type

Definition at line 2084 of file format.h.

template<typename Char , typename OutputIt >
OutputIt detail::write_bytes ( OutputIt  out,
string_view  bytes,
const basic_format_specs< Char > &  specs 
)

Definition at line 1520 of file format.h.

template<typename Char , typename OutputIt >
OutputIt detail::write_char ( OutputIt  out,
Char  value,
const basic_format_specs< Char > &  specs 
)

Definition at line 1977 of file format.h.

template<typename Char , typename It >
It detail::write_exponent ( int  exp,
It  it 
)

Definition at line 1299 of file format.h.

template<typename OutputIt , typename DecimalFP , typename Char >
OutputIt detail::write_float ( OutputIt  out,
const DecimalFP &  fp,
const basic_format_specs< Char > &  specs,
float_specs  fspecs,
Char  decimal_point 
)

Definition at line 1800 of file format.h.

template<typename OutputIt , typename Char , typename F >
OutputIt detail::write_int ( OutputIt  out,
int  num_digits,
string_view  prefix,
const basic_format_specs< Char > &  specs,
f 
)

Definition at line 1555 of file format.h.

template<typename Char , typename OutputIt >
OutputIt detail::write_nonfinite ( OutputIt  out,
bool  isinf,
const basic_format_specs< Char > &  specs,
const float_specs fspecs 
)

Definition at line 1719 of file format.h.

template<align::type align = align::left, typename OutputIt , typename Char , typename F >
OutputIt detail::write_padded ( OutputIt  out,
const basic_format_specs< Char > &  specs,
size_t  size,
size_t  width,
F &&  f 
)
inline

Definition at line 1495 of file format.h.

template<align::type align = align::left, typename OutputIt , typename Char , typename F >
OutputIt detail::write_padded ( OutputIt  out,
const basic_format_specs< Char > &  specs,
size_t  size,
F &&  f 
)
inline

Definition at line 1513 of file format.h.

template<typename Char , typename OutputIt , typename UIntPtr >
OutputIt detail::write_ptr ( OutputIt  out,
UIntPtr  value,
const basic_format_specs< Char > *  specs 
)

Definition at line 1987 of file format.h.

template<typename Char , typename OutputIt >
OutputIt detail::write_significand ( OutputIt  out,
const char *  significand,
int &  significand_size 
)
inline

Definition at line 1750 of file format.h.

template<typename Char , typename OutputIt , typename UInt >
OutputIt detail::write_significand ( OutputIt  out,
UInt  significand,
int  significand_size 
)
inline

Definition at line 1755 of file format.h.

template<typename Char , typename UInt , FMT_ENABLE_IF(std::is_integral< UInt >::value) >
Char* detail::write_significand ( Char *  out,
UInt  significand,
int  significand_size,
int  integral_size,
Char  decimal_point 
)
inline

Definition at line 1762 of file format.h.

template<typename OutputIt , typename UInt , typename Char , FMT_ENABLE_IF(!std::is_pointer< remove_cvref_t< OutputIt >>::value) >
OutputIt detail::write_significand ( OutputIt  out,
UInt  significand,
int  significand_size,
int  integral_size,
Char  decimal_point 
)
inline

Definition at line 1778 of file format.h.

template<typename OutputIt , typename Char >
OutputIt detail::write_significand ( OutputIt  out,
const char *  significand,
int  significand_size,
int  integral_size,
Char  decimal_point 
)
inline

Definition at line 1789 of file format.h.

Variable Documentation

Definition at line 908 of file format.h.



plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:51