HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
detail Namespace Reference

Namespaces

 digits
 
 dragonbox
 

Classes

struct  std_string_view
 
struct  int128_t
 
struct  uint128_t
 
struct  is_string
 
struct  char_t_impl
 
struct  char_t_impl< S, enable_if_t< is_string< S >::value > >
 
struct  error_handler
 
class  buffer
 
struct  buffer_traits
 
class  fixed_buffer_traits
 
class  iterator_buffer
 
class  iterator_buffer< T *, T >
 
class  iterator_buffer< std::back_insert_iterator< Container >, enable_if_t< is_contiguous< Container >::value, typename Container::value_type > >
 
class  counting_buffer
 
class  buffer_appender
 
struct  fallback_formatter
 
struct  view
 
struct  named_arg
 
struct  named_arg_info
 
struct  arg_data
 
struct  arg_data< T, Char, NUM_ARGS, 0 >
 
struct  is_named_arg
 
struct  is_named_arg< named_arg< Char, T > >
 
struct  type_constant
 
struct  string_value
 
struct  named_arg_value
 
struct  custom_value
 
class  value
 
struct  unformattable
 
struct  arg_mapper
 
struct  void_t_impl
 
struct  is_output_iterator
 
struct  is_output_iterator< It, T, void_t< typename std::iterator_traits< It >::iterator_category, decltype(*std::declval< It >()=std::declval< T >())> >
 
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< std::back_insert_iterator< Container > >
 
struct  is_contiguous_back_insert_iterator< buffer_appender< Char > >
 
class  locale_ref
 
struct  is_reference_wrapper
 
struct  is_reference_wrapper< std::reference_wrapper< T > >
 
class  dynamic_arg_list
 
struct  bits
 
struct  boundaries
 
class  fp
 
struct  accumulator
 
class  bigint
 
struct  fixed_handler
 
struct  stringifier
 
struct  fallback_uintptr
 
class  counting_iterator
 
class  truncating_iterator_base
 
class  truncating_iterator
 
class  truncating_iterator< OutputIt, std::false_type >
 
class  truncating_iterator< OutputIt, std::true_type >
 
struct  uint128_wrapper
 
struct  divtest_table_entry
 
struct  basic_data
 
struct  data
 
struct  format_decimal_result
 
class  utf8_to_utf16
 
struct  null
 
struct  fill_t
 
struct  float_specs
 
class  int_type_checker
 
class  char_specs_checker
 
class  cstring_type_checker
 
struct  write_int_data
 
struct  int_writer
 
struct  big_decimal_fp
 
struct  is_integral
 
struct  is_integral< int128_t >
 
struct  is_integral< uint128_t >
 
struct  default_arg_formatter
 
class  arg_formatter_base
 
class  arg_formatter
 
class  custom_formatter
 
class  width_checker
 
class  precision_checker
 
class  specs_setter
 
class  numeric_specs_checker
 
class  specs_checker
 
struct  auto_id
 
class  specs_handler
 
struct  arg_ref
 
struct  dynamic_format_specs
 
class  dynamic_specs_handler
 
struct  width_adapter
 
struct  precision_adapter
 
struct  id_adapter
 
struct  format_handler
 
class  compile_parse_context
 
class  format_string_checker
 
class  formatbuf
 
struct  converter
 
struct  test_stream
 
class  is_streamable
 
struct  fallback_formatter< T, Char, enable_if_t< is_streamable< T, Char >::value > >
 
struct  int_checker
 
struct  int_checker< true >
 
class  printf_precision_handler
 
class  is_zero_int
 
struct  make_unsigned_or_bool
 
struct  make_unsigned_or_bool< bool >
 
class  arg_converter
 
class  char_converter
 
struct  get_cstring
 
class  printf_width_handler
 

Typedefs

template<typename T , typename Context >
using has_fallback_formatter = std::is_constructible< fallback_formatter< T, typename Context::char_type >>
 
using long_type = conditional_t< long_short, int, long long >
 
using ulong_type = conditional_t< long_short, unsigned, unsigned 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... Ts>
using void_t = typename detail::void_t_impl< Ts...>::type
 
using uintptr_t = fallback_uintptr
 
template<typename T >
using iterator_t = decltype(std::begin(std::declval< T & >()))
 
template<typename T >
using sentinel_t = decltype(std::end(std::declval< T & >()))
 
template<typename T >
using checked_ptr = T *
 
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 is_fast_float = bool_constant< std::numeric_limits< T >::is_iec559 &&sizeof(T)<=sizeof(double)>
 
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 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 >>
 
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 >
 
using format_func = void(*)(detail::buffer< char > &, int, string_view)
 

Enumerations

enum  char8_type : unsigned char
 
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
}
 
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  round_direction { round_direction::unknown, round_direction::up, round_direction::down }
 
enum  float_format : unsigned char { float_format::general, float_format::exp, float_format::fixed, float_format::hex }
 
enum  arg_id_kind { arg_id_kind::none, arg_id_kind::index, arg_id_kind::name }
 

Functions

template<typename T >
constexpr T const_check (T value)
 
FMT_NORETURN FMT_API void assert_fail (const char *file, int line, const char *message)
 
template<typename Int >
FMT_CONSTEXPR
std::make_unsigned< Int >
::type 
to_unsigned (Int value)
 
 FMT_SUPPRESS_MSC_WARNING (4566) const expr unsigned char micro[]
 
template<typename Char >
constexpr bool is_unicode ()
 
void to_string_view (...)
 
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 Container >
Container & get_container (std::back_insert_iterator< Container > it)
 
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)
 
template<typename Buffer >
auto get_iterator (Buffer &buf) -> decltype(buf.out())
 
template<typename T >
buffer_appender< T > get_iterator (buffer< T > &buf)
 
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 &...)
 
template<bool B = false>
constexpr size_t count ()
 
template<bool B1, bool B2, bool... Tail>
constexpr size_t count ()
 
template<typename... Args>
constexpr size_t count_named_args ()
 
 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)
 
constexpr bool is_integral_type (type t)
 
constexpr bool is_arithmetic_type (type t)
 
template<typename Context , typename T >
FMT_CONSTEXPR basic_format_arg
< Context > 
make_arg (const T &value)
 
template<typename >
constexpr unsigned long long encode_types ()
 
template<typename Context , typename Arg , typename... Args>
constexpr unsigned long long encode_types ()
 
template<typename T >
int check (unformattable)
 
template<typename T , typename U >
const U & check (const U &val)
 
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 >
const T & unwrap (const T &v)
 
template<typename T >
const T & unwrap (const std::reference_wrapper< T > &v)
 
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 >
void vformat_to (buffer< Char > &buf, basic_string_view< Char > format_str, basic_format_args< FMT_BUFFER_CONTEXT(type_identity_t< Char >)> args, detail::locale_ref loc={})
 
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)
 
int safe_strerror (int error_code, char *&buffer, size_t buffer_size) FMT_NOEXCEPT
 
FMT_FUNC void format_error_code (detail::buffer< char > &out, int error_code, string_view message) FMT_NOEXCEPT
 
FMT_FUNC void report_error (format_func func, int error_code, string_view message) FMT_NOEXCEPT
 
void fwrite_fully (const void *ptr, size_t size, size_t count, FILE *stream)
 
template<typename Char >
FMT_FUNC std::string grouping_impl (locale_ref loc)
 
template<typename Char >
FMT_FUNC Char thousands_sep_impl (locale_ref loc)
 
template<typename Char >
FMT_FUNC Char decimal_point_impl (locale_ref loc)
 
template<>
FMT_FUNC int count_digits< 4 > (detail::fallback_uintptr n)
 
template<int SHIFT = 0>
fp normalize (fp value)
 
bool operator== (fp x, fp y)
 
uint64_t multiply (uint64_t lhs, uint64_t rhs)
 
fp operator* (fp x, fp y)
 
fp get_cached_power (int min_exponent, int &pow10_exponent)
 
round_direction get_round_direction (uint64_t divisor, uint64_t remainder, uint64_t error)
 
template<typename Handler >
FMT_ALWAYS_INLINE digits::result grisu_gen_digits (fp value, uint64_t error, int &exp, Handler &handler)
 
template<typename Double >
void fallback_format (Double d, int num_digits, bool binary32, buffer< char > &buf, int &exp10)
 
template<typename T >
int format_float (T value, int precision, float_specs specs, buffer< char > &buf)
 
template<typename T >
int snprintf_float (T value, int precision, float_specs specs, buffer< char > &buf)
 
const char * utf8_decode (const char *buf, uint32_t *c, int *e)
 
template<typename Dest , typename Source >
Dest bit_cast (const Source &source)
 
bool is_big_endian ()
 
fallback_uintptr to_uintptr (const void *p)
 
template<typename T >
constexpr T max_value ()
 
template<typename T >
constexpr int num_bits ()
 
template<>
constexpr int num_bits< int128_t > ()
 
template<>
constexpr int num_bits< uint128_t > ()
 
template<>
constexpr int num_bits< fallback_uintptr > ()
 
FMT_INLINE void assume (bool condition)
 
template<typename Char >
Char * get_data (std::basic_string< Char > &s)
 
template<typename Container >
Container::value_type * get_data (Container &c)
 
template<typename T >
T * make_checked (T *p, size_t)
 
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)
 
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)
 
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 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)
 
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 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 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)
 
FMT_INLINE uint16_t bsr2log10 (int bsr)
 
int count_digits (uint64_t n)
 
template<unsigned BITS, typename UInt >
int count_digits (UInt n)
 
template<>
int count_digits< 4 > (detail::fallback_uintptr n)
 
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 Char >
FMT_API std::string grouping_impl (locale_ref loc)
 
template<typename Char >
std::string grouping (locale_ref loc)
 
template<>
std::string grouping< wchar_t > (locale_ref loc)
 
template<typename Char >
FMT_API Char thousands_sep_impl (locale_ref loc)
 
template<typename Char >
Char thousands_sep (locale_ref loc)
 
template<>
wchar_t thousands_sep (locale_ref loc)
 
template<typename Char >
FMT_API Char decimal_point_impl (locale_ref loc)
 
template<typename Char >
Char decimal_point (locale_ref loc)
 
template<>
wchar_t decimal_point (locale_ref loc)
 
template<typename Char >
bool equal2 (const Char *lhs, const char *rhs)
 
bool equal2 (const char *lhs, const char *rhs)
 
template<typename Char >
void copy2 (Char *dst, const char *src)
 
FMT_INLINE void copy2 (char *dst, const char *src)
 
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<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)
 
template<typename T >
constexpr
dragonbox::float_info< T >
::carrier_uint 
exponent_mask ()
 
template<typename Char , typename It >
It write_exponent (int exp, It it)
 
template<typename T >
promote_float (T value)
 
double promote_float (float value)
 
template<typename Handler >
FMT_CONSTEXPR void handle_int_type_spec (char spec, 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 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<typename Char , typename ErrorHandler >
FMT_CONSTEXPR void check_string_type_spec (Char spec, ErrorHandler &&eh)
 
template<typename Char , typename ErrorHandler >
FMT_CONSTEXPR void check_pointer_type_spec (Char spec, ErrorHandler &&eh)
 
template<typename OutputIt , typename Char >
FMT_NOINLINE OutputIt fill (OutputIt it, size_t n, const fill_t< Char > &fill)
 
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 >
OutputIt write_bytes (OutputIt out, string_view bytes, const basic_format_specs< Char > &specs)
 
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 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 >
OutputIt write_nonfinite (OutputIt out, bool isinf, const basic_format_specs< Char > &specs, const float_specs &fspecs)
 
int get_significand_size (const big_decimal_fp &fp)
 
template<typename T >
int get_significand_size (const dragonbox::decimal_fp< T > &fp)
 
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)
 
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 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_char (OutputIt out, Char value, const basic_format_specs< Char > &specs)
 
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 (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 >
FMT_CONSTEXPR bool is_name_start (Char c)
 
template<typename Char , typename ErrorHandler >
FMT_CONSTEXPR int parse_nonnegative_int (const Char *&begin, const Char *end, ErrorHandler &&eh)
 
template<template< typename > class Handler, typename FormatArg , typename ErrorHandler >
FMT_CONSTEXPR int get_dynamic_spec (FormatArg arg, ErrorHandler eh)
 
template<typename Context , typename ID >
FMT_CONSTEXPR Context::format_arg get_arg (Context &ctx, ID id)
 
template<typename Char , typename IDHandler >
FMT_CONSTEXPR const Char * parse_arg_id (const Char *begin, const Char *end, IDHandler &&handler)
 
template<typename Char >
FMT_CONSTEXPR int code_point_length (const Char *begin)
 
template<typename Char >
constexpr bool is_ascii_letter (Char c)
 
template<typename Char , FMT_ENABLE_IF(std::is_integral< Char >::value) >
constexpr Char to_ascii (Char value)
 
template<typename Char , FMT_ENABLE_IF(std::is_enum< Char >::value) >
constexpr std::underlying_type
< Char >::type 
to_ascii (Char value)
 
template<typename Char , typename Handler >
FMT_CONSTEXPR const Char * parse_align (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 Char , typename Handler >
FMT_CONSTEXPR const Char * parse_precision (const Char *begin, const Char *end, Handler &&handler)
 
template<typename Char , typename SpecHandler >
FMT_CONSTEXPR const Char * parse_format_specs (const Char *begin, const Char *end, SpecHandler &&handler)
 
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)
 
template<typename Char , typename Handler >
FMT_CONSTEXPR const Char * parse_replacement_field (const Char *begin, const Char *end, Handler &&handler)
 
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 T , typename ParseContext >
FMT_CONSTEXPR const
ParseContext::char_type
parse_format_specs (ParseContext &ctx)
 
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<template< typename > class Handler, typename Context >
void handle_dynamic_spec (int &value, arg_ref< typename Context::char_type > ref, Context &ctx)
 
template FMT_API std::string grouping_impl< char > (locale_ref loc)
 
template FMT_API std::string grouping_impl< wchar_t > (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 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)
 
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)
 
template<typename Char , typename Traits >
void_t operator<< (std::basic_ostream< Char, Traits > &, Char)
 
template<typename Char , typename Traits >
void_t operator<< (std::basic_ostream< Char, Traits > &, char)
 
template<typename Traits >
void_t operator<< (std::basic_ostream< char, Traits > &, char)
 
template<typename Traits >
void_t operator<< (std::basic_ostream< char, Traits > &, signed char)
 
template<typename Traits >
void_t operator<< (std::basic_ostream< char, Traits > &, unsigned char)
 
template<typename Char >
void write_buffer (std::basic_ostream< Char > &os, buffer< Char > &buf)
 
template<typename Char , typename T >
void format_value (buffer< Char > &buf, const T &value, locale_ref loc=locale_ref())
 
template<typename T , typename Context , typename Char >
void convert_arg (basic_format_arg< Context > &arg, Char type)
 
template<typename Char , typename Context >
void vprintf (buffer< Char > &buf, basic_string_view< Char > format, basic_format_args< Context > args)
 

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 3249 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 903 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 2392 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 1120 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 1240 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 1121 of file core.h.

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

Definition at line 1364 of file core.h.

Enumeration Type Documentation

anonymous enum
Enumerator
long_short 

Definition at line 1119 of file core.h.

anonymous enum
Enumerator
packed_arg_bits 

Definition at line 1242 of file core.h.

anonymous enum
Enumerator
max_packed_args 

Definition at line 1244 of file core.h.

anonymous enum : unsigned long long
Enumerator
is_unpacked_bit 

Definition at line 1245 of file core.h.

anonymous enum : unsigned long long
Enumerator
has_named_args_bit 

Definition at line 1246 of file core.h.

enum detail::arg_id_kind
strong
Enumerator
none 
index 
name 

Definition at line 2611 of file format.h.

enum detail::char8_type : unsigned char

Definition at line 340 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
unknown 
up 
down 

Definition at line 1475 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 
Examples:
expr/functions.C, GUI/GUI_PrimFramework.C, and SOP/SOP_PrimVOP.C.

Definition at line 977 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 902 of file format.h.

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

Definition at line 1421 of file core.h.

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

Definition at line 1428 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 520 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 3223 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 >
FMT_CONSTEXPR int detail::code_point_length ( const Char *  begin)

Definition at line 2767 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 3181 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 3191 of file format.h.

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

Definition at line 282 of file core.h.

template<typename T , typename Context , typename Char >
void detail::convert_arg ( basic_format_arg< Context > &  arg,
Char  type 
)

Definition at line 122 of file printf.h.

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

Definition at line 1034 of file format.h.

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

Definition at line 1038 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<bool B = false>
constexpr size_t detail::count ( )

Definition at line 968 of file core.h.

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

Definition at line 969 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 928 of file format.h.

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

Definition at line 962 of file format.h.

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

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

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

Definition at line 973 of file core.h.

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

Definition at line 1018 of file format.h.

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

Definition at line 1021 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 995 of file format.h.

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

Definition at line 998 of file format.h.

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

Definition at line 999 of file format.h.

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

Definition at line 1405 of file core.h.

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

Definition at line 1408 of file core.h.

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

Definition at line 1026 of file format.h.

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

Definition at line 1029 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 2313 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 2929 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 2937 of file format.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 1049 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 1073 of file format.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 2430 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 1082 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 1096 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 1118 of file format.h.

template<typename Char , typename T >
void detail::format_value ( buffer< Char > &  buf,
const T &  value,
locale_ref  loc = locale_ref() 
)

Definition at line 107 of file ostream.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 2559 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 880 of file core.h.

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

Definition at line 883 of file core.h.

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

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

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

Definition at line 650 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 2550 of file format.h.

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

Definition at line 888 of file core.h.

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

Definition at line 891 of file core.h.

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

Definition at line 1481 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 Handler >
FMT_ALWAYS_INLINE digits::result detail::grisu_gen_digits ( fp  value,
uint64_t  error,
int exp,
Handler &  handler 
)

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

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

Definition at line 1002 of file format.h.

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

Definition at line 1005 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 3233 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 944 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 947 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 953 of file core.h.

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

Definition at line 961 of file core.h.

constexpr bool detail::is_arithmetic_type ( type  t)

Definition at line 1028 of file core.h.

template<typename Char >
constexpr bool detail::is_ascii_letter ( Char  c)

Definition at line 2779 of file format.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 1024 of file core.h.

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

Definition at line 2342 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 332 of file core.h.

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

Definition at line 1414 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 1437 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 1443 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.

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

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

template<int SHIFT = 0>
fp detail::normalize ( fp  value)
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 1195 of file format-inl.h.

template<typename Traits >
void_t detail::operator<< ( std::basic_ostream< char, Traits > &  ,
char   
)
template<typename Char , typename Traits >
void_t detail::operator<< ( std::basic_ostream< Char, Traits > &  ,
Char   
)
template<typename Char , typename Traits >
void_t detail::operator<< ( std::basic_ostream< Char, Traits > &  ,
char   
)
template<typename Traits >
void_t detail::operator<< ( std::basic_ostream< char, Traits > &  ,
signed  char 
)
template<typename Traits >
void_t detail::operator<< ( std::basic_ostream< char, Traits > &  ,
unsigned  char 
)
bool detail::operator== ( fp  x,
fp  y 
)
inline

Definition at line 1175 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 2795 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 2700 of file format.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 2879 of file format.h.

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

Definition at line 3036 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 2986 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 2349 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 2855 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 2959 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 2838 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 2493 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 
)
template<typename Char >
Char detail::thousands_sep ( locale_ref  loc)
inline

Definition at line 1010 of file format.h.

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

Definition at line 1013 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 FMT_API char detail::thousands_sep_impl< char > ( locale_ref  loc)
template FMT_API wchar_t detail::thousands_sep_impl< wchar_t > ( locale_ref  loc)
template<typename Char , FMT_ENABLE_IF(std::is_integral< Char >::value) >
constexpr Char detail::to_ascii ( Char  value)

Definition at line 2785 of file format.h.

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

Definition at line 2789 of file format.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 325 of file core.h.

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

Definition at line 1451 of file core.h.

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

Definition at line 1452 of file core.h.

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

Definition at line 2613 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 3845 of file format.h.

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

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

template<typename Char >
void detail::vformat_to ( buffer< Char > &  buf,
basic_string_view< Char >  format_str,
basic_format_args< FMT_BUFFER_CONTEXT(type_identity_t< Char >)>  args,
detail::locale_ref  loc = {} 
)
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 1967 of file core.h.

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

Definition at line 1971 of file core.h.

template<typename Char , typename Context >
void detail::vprintf ( buffer< Char > &  buf,
basic_string_view< Char >  format,
basic_format_args< Context >  args 
)

Definition at line 182 of file printf.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 >
void detail::write_buffer ( std::basic_ostream< Char > &  os,
buffer< Char > &  buf 
)

Definition at line 93 of file ostream.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

FMT_EXTERN template struct detail::basic_data< void >

Definition at line 912 of file format.h.