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

Namespaces

 dragonbox
 
 tuple
 

Classes

struct  all
 
struct  ansi_color_escape
 
class  arg_converter
 
struct  arg_data
 
struct  arg_data< T, Char, NUM_ARGS, 0 >
 
struct  arg_formatter
 
struct  arg_mapper
 
struct  arg_ref
 
struct  basic_fp
 
struct  big_decimal_fp
 
class  bigint
 
class  buffer
 
struct  buffer_traits
 
class  char_converter
 
struct  char_t_impl
 
struct  char_t_impl< S, enable_if_t< is_string< S >::value > >
 
struct  chrono_format_checker
 
struct  chrono_formatter
 
struct  codecvt_result
 
struct  color_type
 
class  compile_parse_context
 
struct  compile_string
 
class  compiled_string
 
struct  conditional_helper
 
struct  count_fractional_digits
 
struct  count_fractional_digits< Num, Den, N, false >
 
class  counting_buffer
 
class  counting_iterator
 
struct  custom_value
 
struct  default_arg_formatter
 
class  digit_grouping
 
class  dynamic_arg_list
 
struct  dynamic_format_specs
 
struct  dynamic_spec_id_handler
 
struct  error_handler
 
class  fallback_digit_grouping
 
class  file_access
 
struct  fill_t
 
struct  find_escape_result
 
class  fixed_buffer_traits
 
struct  float_specs
 
struct  format_as_result
 
struct  format_decimal_result
 
class  format_string_checker
 
struct  format_tuple_element
 
class  formatbuf
 
struct  get_cstring
 
class  get_locale
 
struct  has_const_begin_end
 
struct  has_const_begin_end< T, void_t< decltype(detail::range_begin(std::declval< const remove_cvref_t< T > & >())), decltype(detail::range_end(std::declval< const remove_cvref_t< T > & >()))> >
 
struct  has_flip
 
struct  has_flip< T, void_t< decltype(std::declval< T >().flip())> >
 
struct  has_format_as
 
struct  has_isfinite
 
struct  has_isfinite< T, enable_if_t< sizeof(std::isfinite(T())) !=0 > >
 
struct  has_member_data_tm_gmtoff
 
struct  has_member_data_tm_gmtoff< T, void_t< decltype(T::tm_gmtoff)> >
 
struct  has_member_data_tm_zone
 
struct  has_member_data_tm_zone< T, void_t< decltype(T::tm_zone)> >
 
struct  has_member_fn_begin_end_t
 
struct  has_member_fn_begin_end_t< T, void_t< decltype(std::declval< T >().begin()), decltype(std::declval< T >().end())> >
 
struct  has_mutable_begin_end
 
struct  has_mutable_begin_end< T, void_t< decltype(detail::range_begin(std::declval< T >())), decltype(detail::range_end(std::declval< T >())), int > >
 
struct  int_checker
 
struct  int_checker< true >
 
struct  integer_sequence
 
struct  is_back_insert_iterator
 
struct  is_back_insert_iterator< std::back_insert_iterator< Container > >
 
struct  is_bit_reference_like
 
struct  is_compile_string
 
struct  is_compiled_string
 
class  is_container_adaptor_like
 
struct  is_formattable_delayed
 
struct  is_integral
 
struct  is_integral< int128_opt >
 
struct  is_integral< uint128_t >
 
class  is_map
 
struct  is_named_arg
 
struct  is_named_arg< named_arg< Char, T > >
 
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_range_
 
struct  is_range_< T, void >
 
struct  is_reference_wrapper
 
struct  is_reference_wrapper< std::reference_wrapper< T > >
 
struct  is_same_arithmetic_type
 
class  is_set
 
struct  is_statically_named_arg
 
class  is_std_string_like
 
struct  is_std_string_like< fmt::basic_string_view< Char > >
 
struct  is_string
 
class  is_tuple_formattable_
 
class  is_tuple_formattable_< T, C, true >
 
class  is_tuple_like_
 
struct  is_zero_int
 
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 >
 
class  iterator_buffer< T *, T, fixed_buffer_traits >
 
struct  loc_writer
 
class  locale_ref
 
struct  make_integer_sequence
 
struct  make_integer_sequence< T, 0, Ns... >
 
struct  make_unsigned_or_bool
 
struct  make_unsigned_or_bool< bool >
 
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
 
struct  null_chrono_spec_handler
 
struct  parse_empty_specs
 
struct  precision_checker
 
class  printf_arg_formatter
 
struct  printf_precision_handler
 
class  printf_width_handler
 
struct  range_default_formatter
 
struct  range_default_formatter< K, R, Char, enable_if_t<(K==range_format::sequence||K==range_format::map||K==range_format::set)> >
 
struct  range_format_kind_
 
struct  range_mapper
 
struct  singleton
 
struct  std_string_view
 
struct  streamed_view
 
struct  string_literal
 
struct  string_value
 
struct  strip_named_arg
 
struct  strip_named_arg< T, true >
 
struct  styled_arg
 
struct  thousands_sep_result
 
struct  tm_format_checker
 
class  tm_writer
 
class  to_utf8
 
struct  type_constant
 
class  uint128_fallback
 
struct  unformattable
 
struct  unformattable_char
 
struct  unformattable_pointer
 
class  utf8_to_utf16
 
class  value
 
struct  vformat_args
 
struct  vformat_args< char >
 
struct  view
 
struct  width_checker
 
struct  write_int_arg
 
struct  write_int_data
 

Typedefs

template<typename T >
using buffer_appender = conditional_t< std::is_same< T, char >::value, appender, std::back_insert_iterator< buffer< T > >>
 
template<typename T , bool doublish = num_bits<T>() == num_bits<double>()>
using convert_float_result = conditional_t< std::is_same< T, float >::value||doublish, double, T >
 
using float128 = void
 
template<typename T >
using format_as_t = typename format_as_result< T >::type
 
using format_func = void(*)(detail::buffer< char > &, int, const char *)
 
using fp = basic_fp< unsigned long long >
 
template<size_t... N>
using index_sequence = integer_sequence< size_t, N... >
 
template<typename T >
using is_exotic_char = bool_constant<!std::is_same< T, char >::value >
 
template<typename T >
using is_float128 = std::is_same< T, float128 >
 
template<typename T >
using is_floating_point = bool_constant< std::is_floating_point< T >::value||is_float128< T >::value >
 
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_opt >::value >
 
template<typename T >
using iterator_t = decltype(std::begin(std::declval< T & >()))
 
using long_type = conditional_t< long_short, int, long long >
 
template<size_t N>
using make_index_sequence = make_integer_sequence< size_t, N >
 
template<typename Char >
using make_unsigned_char = typename conditional_t< std::is_integral< Char >::value, std::make_unsigned< Char >, type_identity< uint32_t > >::type
 
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 R >
using maybe_const_range = conditional_t< has_const_begin_end< R >::value, const R, R >
 
template<range_format K>
using range_format_constant = std::integral_constant< range_format, K >
 
template<typename Char , typename Element >
using range_formatter_type = formatter< remove_cvref_t< decltype(range_mapper< buffer_context< Char > >{}.map(std::declval< Element >()))>, Char >
 
template<typename Range >
using range_reference_type = decltype(*detail::range_begin(std::declval< Range & >()))
 
template<typename OutputIt >
using reserve_iterator = remove_reference_t< decltype(reserve(std::declval< OutputIt & >(), 0))>
 
template<typename T >
using sentinel_t = decltype(std::end(std::declval< T & >()))
 
template<typename T >
using tuple_index_sequence = make_index_sequence< std::tuple_size< T >::value >
 
using uint128_t = conditional_t< FMT_USE_INT128, uint128_opt, uint128_fallback >
 
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 uint64_or_128_t = conditional_t< num_bits< T >()<=64, uint64_t, uint128_t >
 
using uintptr_t = uint128_t
 
using ulong_type = conditional_t< long_short, unsigned, unsigned long long >
 
template<typename Range >
using uncvref_type = remove_cvref_t< range_reference_type< Range > >
 
template<typename... >
using void_t = void
 

Enumerations

enum  {
  sint_set, uint_set, bool_set = set(type::bool_type), char_set = set(type::char_type),
  float_set, string_set = set(type::string_type), cstring_set = set(type::cstring_type), pointer_set = set(type::pointer_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  arg_id_kind { arg_id_kind::none, arg_id_kind::index, arg_id_kind::name }
 
enum  char8_type : unsigned char
 
enum  dragon { predecessor_closer = 1, fixup = 2, fixed = 4, fixed }
 
enum  float_format : unsigned char { float_format::general, float_format::exp, fixed, float_format::hex }
 
enum  int128_opt
 
enum  numeric_system { numeric_system::standard, numeric_system::alternative }
 
enum  pad_type { pad_type::unspecified, pad_type::none, pad_type::zero, pad_type::space }
 
enum  state {
  state::start, state::align, state::sign, state::hash,
  state::zero, state::width, state::precision, state::locale
}
 
enum  to_utf8_error_policy { to_utf8_error_policy::abort, to_utf8_error_policy::replace }
 
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  uint128_opt
 

Functions

FMT_CONSTEXPR void abort_fuzzing_if (bool condition)
 
FMT_CONSTEXPR20 void adjust_precision (int &precision, int exp10)
 
FMT_NORETURN FMT_API void assert_fail (const char *file, int line, const char *message)
 
FMT_INLINE void assume (bool condition)
 
template<typename Iterator >
constexpr auto base_iterator (Iterator, Iterator it) -> Iterator
 
template<typename Container , FMT_ENABLE_IF(is_contiguous< Container >::value) >
auto base_iterator (std::back_insert_iterator< Container > it, typename Container::value_type *) -> std::back_insert_iterator< Container >
 
template<typename To , typename From , FMT_ENABLE_IF(sizeof(To)==sizeof(From)) >
FMT_CONSTEXPR20 auto bit_cast (const From &from) -> To
 
template<typename To , typename From , FMT_ENABLE_IF(sizeof(To) > sizeof(From)) >
auto bit_cast (const From &from) -> To
 
template<typename Char >
FMT_CONSTEXPR auto check_char_specs (const format_specs< Char > &specs) -> bool
 
template<typename... , typename S , FMT_ENABLE_IF(!is_compile_string< S >::value) >
FMT_INLINE void check_format_string (const S &)
 
template<typename... Args, typename S , FMT_ENABLE_IF(is_compile_string< S >::value) >
void check_format_string (S format_str)
 
template<typename Char >
auto code_point_index (basic_string_view< Char > s, size_t n) -> size_t
 
auto code_point_index (basic_string_view< char8_type > s, size_t n) -> size_t
 
auto code_point_index (string_view s, size_t n) -> size_t
 
template<typename Char >
FMT_CONSTEXPR auto code_point_length (const Char *begin) -> int
 
template<typename Char >
auto compute_width (basic_string_view< Char > s) -> size_t
 
auto compute_width (basic_string_view< char8_type > s) -> size_t
 
FMT_CONSTEXPR auto compute_width (string_view s) -> size_t
 
template<typename T >
constexpr FMT_INLINE auto const_check (T value) -> T
 
template<typename T , typename Context , typename Char >
void convert_arg (basic_format_arg< Context > &arg, Char type)
 
template<typename T >
constexpr auto convert_float (T value) -> convert_float_result< T >
 
template<typename T >
auto convert_for_visit (T) -> monostate
 
template<typename OutputIt >
auto copy (char ch, OutputIt out) -> OutputIt
 
template<typename OutputIt >
auto copy (const char *str, OutputIt out) -> OutputIt
 
template<typename Range , typename OutputIt >
auto copy (const Range &range, OutputIt out) -> OutputIt
 
template<typename OutputIt >
auto copy (wchar_t ch, OutputIt out) -> OutputIt
 
template<typename Char >
FMT_CONSTEXPR20 FMT_INLINE void copy2 (Char *dst, const char *src)
 
template<typename Char , typename InputIt >
auto copy_str (InputIt begin, InputIt end, appender out) -> appender
 
template<typename Char , typename InputIt >
FMT_CONSTEXPR auto copy_str (InputIt begin, InputIt end, counting_iterator it) -> counting_iterator
 
template<typename Char , typename InputIt , typename OutputIt >
FMT_CONSTEXPR auto copy_str (InputIt begin, InputIt end, OutputIt out) -> OutputIt
 
template<typename Char , typename InputIt >
auto copy_str (InputIt begin, InputIt end, std::back_insert_iterator< std::string > out) -> std::back_insert_iterator< std::string >
 
template<typename Char , typename R , typename OutputIt >
FMT_CONSTEXPR auto copy_str (R &&rng, OutputIt out) -> OutputIt
 
template<typename Char , typename T , typename U , FMT_ENABLE_IF( std::is_same< remove_const_t< T >, U >::value &&is_char< U >::value) >
FMT_CONSTEXPR auto copy_str (T *begin, T *end, U *out) -> U *
 
template<typename OutChar , typename InputIt , typename OutputIt >
FMT_CONSTEXPR FMT_NOINLINE auto copy_str_noinline (InputIt begin, InputIt end, OutputIt out) -> OutputIt
 
template<typename Char , typename OutputIt >
auto copy_unit (string_view unit, OutputIt out, Char) -> OutputIt
 
template<typename OutputIt >
auto copy_unit (string_view unit, OutputIt out, wchar_t) -> OutputIt
 
template<bool B = false>
constexpr auto count () -> size_t
 
template<bool B1, bool B2, bool... Tail>
constexpr auto count () -> size_t
 
template<int BITS, typename UInt >
FMT_CONSTEXPR auto count_digits (UInt n) -> int
 
FMT_CONSTEXPR20 auto count_digits (uint32_t n) -> int
 
FMT_CONSTEXPR20 auto count_digits (uint64_t n) -> int
 
template<typename T >
FMT_CONSTEXPR auto count_digits_fallback (T n) -> int
 
template<typename... Args>
constexpr auto count_named_args () -> size_t
 
template<typename... Args>
constexpr auto count_statically_named_args () -> size_t
 
FMT_CONSTEXPR20 auto countl_zero (uint32_t n) -> int
 
FMT_CONSTEXPR20 auto countl_zero (uint64_t n) -> int
 
template<typename UInt >
FMT_CONSTEXPR20 auto countl_zero_fallback (UInt n) -> int
 
template<typename Char >
auto decimal_point (locale_ref loc) -> Char
 
template<>
auto decimal_point (locale_ref loc) -> wchar_t
 
template<typename Char >
FMT_FUNC auto decimal_point_impl (locale_ref loc) -> Char
 
template<typename Char >
FMT_API auto decimal_point_impl (locale_ref loc) -> Char
 
template<typename Int >
constexpr auto digits10 () noexcept -> int
 
template<>
constexpr auto digits10< int128_opt > () noexcept -> int
 
template<>
constexpr auto digits10< uint128_t > () noexcept -> int
 
constexpr auto digits2 (size_t value) -> const char *
 
template<typename Char , typename Handler >
FMT_CONSTEXPR auto do_parse_arg_id (const Char *begin, const Char *end, Handler &&handler) -> const Char *
 
template<typename Char >
void do_write (buffer< Char > &buf, const std::tm &time, const std::locale &loc, char format, char modifier)
 
template<typename OutputIt , typename DecimalFP , typename Char , typename Grouping = digit_grouping<Char>>
FMT_CONSTEXPR20 auto do_write_float (OutputIt out, const DecimalFP &f, const format_specs< Char > &specs, float_specs fspecs, locale_ref loc) -> OutputIt
 
template<typename >
constexpr auto encode_types () -> unsigned long long
 
template<typename Context , typename Arg , typename... Args>
constexpr auto encode_types () -> unsigned long long
 
template<typename Char >
auto equal2 (const Char *lhs, const char *rhs) -> bool
 
auto equal2 (const char *lhs, const char *rhs) -> bool
 
template<typename Float >
constexpr auto exponent_bias () -> int
 
template<typename Float >
constexpr auto exponent_mask () -> typename dragonbox::float_info< Float >::carrier_uint
 
template<typename OutputIt , typename Char >
FMT_NOINLINE FMT_CONSTEXPR auto fill (OutputIt it, size_t n, const fill_t< Char > &fill) -> OutputIt
 
template<typename OutputIt , typename Size , typename T >
FMT_CONSTEXPR auto fill_n (OutputIt out, Size count, const T &value) -> OutputIt
 
template<typename T , typename Size >
FMT_CONSTEXPR20 auto fill_n (T *out, Size count, char value) -> T *
 
template<bool IS_CONSTEXPR, typename T , typename Ptr = const T*>
FMT_CONSTEXPR auto find (Ptr first, Ptr last, T value, Ptr &out) -> bool
 
template<>
auto find< false, char > (const char *first, const char *last, char value, const char *&out) -> bool
 
template<typename Char >
auto find_escape (const Char *begin, const Char *end) -> find_escape_result< Char >
 
auto find_escape (const char *begin, const char *end) -> find_escape_result< char >
 
template<typename T , typename... Tail>
auto first (const T &value, const Tail &...) -> const T &
 
template<typename To , typename FromRep , typename FromPeriod , FMT_ENABLE_IF(is_same_arithmetic_type< FromRep, typename To::rep >::value) >
auto fmt_duration_cast (std::chrono::duration< FromRep, FromPeriod > from) -> To
 
auto localtime_r FMT_NOMACRO (...) -> null<>
 
 FMT_TYPE_CONSTANT (basic_string_view< Char >, string_type)
 
 FMT_TYPE_CONSTANT (bool, bool_type)
 
 FMT_TYPE_CONSTANT (Char, char_type)
 
 FMT_TYPE_CONSTANT (const Char *, cstring_type)
 
 FMT_TYPE_CONSTANT (const void *, pointer_type)
 
 FMT_TYPE_CONSTANT (double, double_type)
 
 FMT_TYPE_CONSTANT (float, float_type)
 
 FMT_TYPE_CONSTANT (int, int_type)
 
 FMT_TYPE_CONSTANT (int128_opt, int128_type)
 
 FMT_TYPE_CONSTANT (long double, long_double_type)
 
 FMT_TYPE_CONSTANT (long long, long_long_type)
 
 FMT_TYPE_CONSTANT (uint128_opt, uint128_type)
 
 FMT_TYPE_CONSTANT (unsigned long long, ulong_long_type)
 
 FMT_TYPE_CONSTANT (unsigned, uint_type)
 
template<typename Tuple , typename F , size_t... Is>
FMT_CONSTEXPR void for_each (index_sequence< Is... >, Tuple &&t, F &&f)
 
template<typename Tuple , typename F >
FMT_CONSTEXPR void for_each (Tuple &&t, F &&f)
 
template<typename Tuple1 , typename Tuple2 , typename F , size_t... Is>
void for_each2 (index_sequence< Is... >, Tuple1 &&t1, Tuple2 &&t2, F &&f)
 
template<typename Tuple1 , typename Tuple2 , typename F >
void for_each2 (Tuple1 &&t1, Tuple2 &&t2, F &&f)
 
template<typename F >
FMT_CONSTEXPR void for_each_codepoint (string_view s, F f)
 
template<typename Char , typename UInt >
FMT_CONSTEXPR20 auto format_decimal (Char *out, UInt value, int size) -> format_decimal_result< Char * >
 
template<typename Char , typename UInt , typename Iterator , FMT_ENABLE_IF(!std::is_pointer< remove_cvref_t< Iterator >>::value) >
FMT_CONSTEXPR auto format_decimal (Iterator out, UInt value, int size) -> format_decimal_result< Iterator >
 
FMT_CONSTEXPR20 void format_dragon (basic_fp< uint128_t > value, unsigned flags, int num_digits, buffer< char > &buf, int &exp10)
 
template<typename Char , typename Period , typename OutputIt >
auto format_duration_unit (OutputIt out) -> OutputIt
 
template<typename Char , typename Rep , typename OutputIt , FMT_ENABLE_IF(std::is_integral< Rep >::value) >
auto format_duration_value (OutputIt out, Rep val, int) -> OutputIt
 
FMT_FUNC void format_error_code (detail::buffer< char > &out, int error_code, string_view message) noexcept
 
template<typename Float >
FMT_CONSTEXPR20 auto format_float (Float value, int precision, float_specs specs, buffer< char > &buf) -> int
 
template<typename Float , FMT_ENABLE_IF(!is_double_double< Float >::value) >
FMT_CONSTEXPR20 void format_hexfloat (Float value, int precision, float_specs specs, buffer< char > &buf)
 
template<unsigned BASE_BITS, typename Char , typename UInt >
FMT_CONSTEXPR auto format_uint (Char *buffer, UInt value, int num_digits, bool upper=false) -> Char *
 
template<unsigned BASE_BITS, typename Char , typename It , typename UInt >
FMT_CONSTEXPR auto format_uint (It out, UInt value, int num_digits, bool upper=false) -> It
 
template<typename Char , typename T >
void format_value (buffer< Char > &buf, const T &value)
 
constexpr auto fractional_part_rounding_thresholds (int index) -> uint32_t
 
void fwrite_fully (const void *ptr, size_t count, FILE *stream)
 
template<typename Context , typename ID >
FMT_CONSTEXPR auto get_arg (Context &ctx, ID id) -> decltype(ctx.arg(id))
 
template<typename... Args, typename Char >
FMT_CONSTEXPR auto get_arg_index_by_name (basic_string_view< Char > name) -> int
 
template<typename T , typename OutputIt >
auto get_buffer (OutputIt out) -> iterator_buffer< OutputIt, T >
 
template<typename T , typename Buf , FMT_ENABLE_IF(std::is_base_of< buffer< char >, Buf >::value) >
auto get_buffer (std::back_insert_iterator< Buf > out) -> buffer< char > &
 
auto get_classic_locale () -> const std::locale &
 
template<typename Container >
auto get_container (std::back_insert_iterator< Container > it) -> Container &
 
template<typename Container >
auto get_data (Container &c) -> typename Container::value_type *
 
template<typename Char >
auto get_data (std::basic_string< Char > &s) -> Char *
 
template<typename Handler , typename FormatArg >
FMT_CONSTEXPR auto get_dynamic_spec (FormatArg arg) -> int
 
template<typename Buf , typename OutputIt >
FMT_INLINE auto get_iterator (Buf &buf, OutputIt) -> decltype(buf.out())
 
template<typename T , typename OutputIt >
auto get_iterator (buffer< T > &, OutputIt out) -> OutputIt
 
template<typename Rep , typename Period , FMT_ENABLE_IF(std::is_integral< Rep >::value) >
auto get_milliseconds (std::chrono::duration< Rep, Period > d) -> std::chrono::duration< Rep, std::milli >
 
constexpr auto get_significand_size (const big_decimal_fp &f) -> int
 
template<typename T >
auto get_significand_size (const dragonbox::decimal_fp< T > &f) -> int
 
template<typename Period >
FMT_CONSTEXPR auto get_units () -> const char *
 
auto gmtime_r (...) -> null<>
 
auto gmtime_s (...) -> null<>
 
template<typename Handler , typename Context >
FMT_CONSTEXPR void handle_dynamic_spec (int &value, arg_ref< typename Context::char_type > ref, Context &ctx)
 
template<typename T , typename Context >
constexpr auto has_const_formatter () -> bool
 
template<typename Context >
constexpr auto has_const_formatter_impl (...) -> bool
 
template<typename Context , typename T >
constexpr auto has_const_formatter_impl (T *) -> decltype(typename Context::template formatter_type< T >().format(std::declval< const T & >(), std::declval< Context & >()), true)
 
template<typename Float >
constexpr auto has_implicit_bit () -> bool
 
template<typename... T>
FMT_CONSTEXPR void ignore_unused (const T &...)
 
constexpr auto in (type t, int set) -> bool
 
template<typename Char >
void init_named_args (named_arg_info< Char > *, int, int)
 
template<typename Char , typename T , typename... Tail, FMT_ENABLE_IF(!is_named_arg< T >::value) >
void init_named_args (named_arg_info< Char > *named_args, int arg_count, int named_arg_count, const T &, const Tail &... args)
 
template<typename... Args>
FMT_CONSTEXPR FMT_INLINE void init_named_args (std::nullptr_t, int, int, const Args &...)
 
constexpr auto is_arithmetic_type (type t) -> bool
 
auto is_big_endian () -> bool
 
constexpr FMT_INLINE auto is_constant_evaluated (bool default_value=false) noexcept -> bool
 
constexpr auto is_integral_type (type t) -> bool
 
template<typename Char >
constexpr auto is_name_start (Char c) -> bool
 
template<typename T , FMT_ENABLE_IF(is_signed< T >::value) >
constexpr auto is_negative (T value) -> bool
 
auto is_printable (uint16_t x, const singleton *singletons, size_t singletons_size, const unsigned char *singleton_lowers, const unsigned char *normal, size_t normal_size) -> bool
 
FMT_FUNC auto is_printable (uint32_t cp) -> bool
 
template<typename T >
FMT_CONSTEXPR auto is_supported_floating_point (T) -> bool
 
FMT_CONSTEXPR auto is_utf8 () -> bool
 
template<typename T , FMT_ENABLE_IF(std::is_floating_point< T >::value && has_isfinite< T >::value) >
FMT_CONSTEXPR20 auto isfinite (T value) -> bool
 
template<typename T , FMT_ENABLE_IF(!has_isfinite< T >::value) >
FMT_CONSTEXPR auto isfinite (T value) -> bool
 
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value &&has_isfinite< T >::value) >
auto isfinite (T) -> bool
 
template<typename T >
constexpr auto isnan (T value) -> bool
 
auto localtime_s (...) -> null<>
 
template<typename Context , typename T >
FMT_CONSTEXPR auto make_arg (T &val) -> basic_format_arg< Context >
 
template<bool PACKED, typename Context , typename T , FMT_ENABLE_IF(!PACKED) >
FMT_CONSTEXPR auto make_arg (T &val) -> basic_format_arg< Context >
 
template<bool PACKED, typename Context , typename T , FMT_ENABLE_IF(PACKED) >
FMT_CONSTEXPR FMT_INLINE auto make_arg (T &val) -> value< Context >
 
template<typename Char >
auto make_arg_formatter (buffer_appender< Char > iter, format_specs< Char > &s) -> arg_formatter< Char >
 
template<typename Char >
FMT_CONSTEXPR auto make_background_color (detail::color_type background) noexcept -> ansi_color_escape< Char >
 
template<typename Char >
FMT_CONSTEXPR auto make_emphasis (emphasis em) noexcept -> ansi_color_escape< Char >
 
template<typename Char >
FMT_CONSTEXPR auto make_foreground_color (detail::color_type foreground) noexcept -> ansi_color_escape< Char >
 
template<typename T >
FMT_CONSTEXPR auto make_write_int_arg (T value, sign_t sign) -> write_int_arg< uint32_or_64_or_128_t< T >>
 
template<typename T >
constexpr auto max_value () -> T
 
template<typename Formatter >
FMT_CONSTEXPR void maybe_set_debug_format (Formatter &,...)
 
template<typename Formatter >
FMT_CONSTEXPR auto maybe_set_debug_format (Formatter &f, bool set) -> decltype(f.set_debug_format(set))
 
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
auto mod (T x, int y) -> T
 
FMT_CONSTEXPR auto multiply (uint64_t lhs, uint64_t rhs) -> uint64_t
 
auto needs_escape (uint32_t cp) -> bool
 
template<int SHIFT = 0, typename F >
FMT_CONSTEXPR auto normalize (basic_fp< F > value) -> basic_fp< F >
 
template<typename T >
constexpr auto num_bits () -> int
 
template<>
constexpr auto num_bits< int128_opt > () -> int
 
template<>
constexpr auto num_bits< uint128_t > () -> int
 
template<typename Float >
constexpr auto num_significand_bits () -> int
 
FMT_CONSTEXPR auto operator* (fp x, fp y) -> fp
 
template<typename F >
auto operator== (basic_fp< F > x, basic_fp< F > y) -> bool
 
FMT_CONSTEXPR auto parse_align (char c) -> align_t
 
template<typename Char >
FMT_CONSTEXPR auto parse_align (const Char *begin, const Char *end, format_specs< Char > &specs) -> const Char *
 
template<typename Char , typename Handler >
FMT_CONSTEXPR FMT_INLINE auto parse_arg_id (const Char *begin, const Char *end, Handler &&handler) -> const Char *
 
template<typename Char , typename Handler >
FMT_CONSTEXPR auto parse_chrono_format (const Char *begin, const Char *end, Handler &&handler) -> const Char *
 
template<typename Char >
FMT_CONSTEXPR auto parse_dynamic_spec (const Char *begin, const Char *end, int &value, arg_ref< Char > &ref, basic_format_parse_context< Char > &ctx) -> const Char *
 
template<typename Char >
void parse_flags (format_specs< Char > &specs, const Char *&it, const Char *end)
 
template<typename Char >
FMT_CONSTEXPR auto parse_float_type_spec (const format_specs< Char > &specs) -> float_specs
 
template<typename Char >
FMT_CONSTEXPR FMT_INLINE auto parse_format_specs (const Char *begin, const Char *end, dynamic_format_specs< Char > &specs, basic_format_parse_context< Char > &ctx, type arg_type) -> const Char *
 
template<typename T , typename ParseContext >
FMT_CONSTEXPR auto parse_format_specs (ParseContext &ctx) -> decltype(ctx.begin())
 
template<bool IS_CONSTEXPR, typename Char , typename Handler >
FMT_CONSTEXPR FMT_INLINE void parse_format_string (basic_string_view< Char > format_str, Handler &&handler)
 
template<typename Char , typename GetArg >
auto parse_header (const Char *&it, const Char *end, format_specs< Char > &specs, GetArg get_arg) -> int
 
template<typename Char >
FMT_CONSTEXPR auto parse_nonnegative_int (const Char *&begin, const Char *end, int error_value) noexcept -> int
 
template<typename Char >
FMT_CONSTEXPR auto parse_precision (const Char *begin, const Char *end, int &value, arg_ref< Char > &ref, basic_format_parse_context< Char > &ctx) -> const Char *
 
auto parse_printf_presentation_type (char c, type t) -> presentation_type
 
template<typename Char , typename Handler >
FMT_CONSTEXPR auto parse_replacement_field (const Char *begin, const Char *end, Handler &&handler) -> const Char *
 
constexpr auto pow10 (std::uint32_t n) -> long long
 
FMT_CONSTEXPR void prefix_append (unsigned &prefix, unsigned value)
 
FMT_FUNC void print (std::FILE *f, string_view text)
 
template<typename T , std::size_t N>
auto range_begin (const T(&arr)[N]) -> const T *
 
template<typename T >
auto range_begin (T &&rng) -> enable_if_t<!has_member_fn_begin_end_t< T && >::value, decltype(begin(static_cast< T && >(rng)))>
 
template<typename T >
auto range_begin (T &&rng) FMT_DECLTYPE_RETURN(static_cast< T && >(rng).begin())
 
template<typename T , std::size_t N>
auto range_end (const T(&arr)[N]) -> const T *
 
template<typename T >
auto range_end (T &&rng) -> enable_if_t<!has_member_fn_begin_end_t< T && >::value, decltype(end(static_cast< T && >(rng)))>
 
template<typename T >
auto range_end (T &&rng) FMT_DECLTYPE_RETURN(static_cast< T && >(rng).end())
 
FMT_FUNC void report_error (format_func func, int error_code, const char *message) noexcept
 
template<typename T >
auto reserve (buffer_appender< T > it, size_t n) -> buffer_appender< T >
 
template<typename Iterator >
constexpr auto reserve (Iterator &it, size_t) -> Iterator &
 
template<typename Container , FMT_ENABLE_IF(is_contiguous< Container >::value) >
auto reserve (std::back_insert_iterator< Container > it, size_t n) -> typename Container::value_type *
 
template<typename Char >
void reset_color (buffer< Char > &buffer)
 
FMT_CONSTEXPR auto rotr (uint32_t n, uint32_t r) noexcept -> uint32_t
 
FMT_CONSTEXPR auto rotr (uint64_t n, uint32_t r) noexcept -> uint64_t
 
constexpr auto set (type rhs) -> int
 
template<typename Char , typename Sign >
constexpr auto sign (Sign s) -> Char
 
template<typename T , FMT_ENABLE_IF(is_floating_point< T >::value) >
FMT_INLINE FMT_CONSTEXPR bool signbit (T value)
 
template<typename Char >
auto thousands_sep (locale_ref loc) -> thousands_sep_result< Char >
 
template<>
auto thousands_sep (locale_ref loc) -> thousands_sep_result< wchar_t >
 
template<typename Char >
FMT_FUNC auto thousands_sep_impl (locale_ref loc) -> thousands_sep_result< Char >
 
template<typename Char >
FMT_API auto thousands_sep_impl (locale_ref loc) -> thousands_sep_result< Char >
 
template FMT_API auto thousands_sep_impl< char > (locale_ref) -> thousands_sep_result< char >
 
template FMT_API auto thousands_sep_impl< wchar_t > (locale_ref) -> thousands_sep_result< wchar_t >
 
FMT_NORETURN FMT_API void throw_format_error (const char *message)
 
auto tm_mon_full_name (int mon) -> const char *
 
auto tm_mon_short_name (int mon) -> const char *
 
auto tm_wday_full_name (int wday) -> const char *
 
auto tm_wday_short_name (int wday) -> const char *
 
template<typename Char , FMT_ENABLE_IF(std::is_integral< Char >::value) >
constexpr auto to_ascii (Char c) -> char
 
template<typename T , typename Int , FMT_ENABLE_IF(std::is_integral< T >::value) >
auto to_nonnegative_int (T value, Int upper) -> Int
 
template<typename T >
auto to_pointer (buffer_appender< T > it, size_t n) -> T *
 
template<typename T , typename OutputIt >
constexpr auto to_pointer (OutputIt, size_t) -> T *
 
void to_string_view (...)
 
template<typename Char >
constexpr auto to_string_view (basic_string_view< Char > s) -> basic_string_view< Char >
 
template<typename Char , FMT_ENABLE_IF(is_char< Char >::value) >
FMT_INLINE auto to_string_view (const Char *s) -> basic_string_view< Char >
 
template<typename S , FMT_ENABLE_IF(is_compile_string< S >::value) >
constexpr auto to_string_view (const S &s) -> basic_string_view< typename S::char_type >
 
template<typename Char , typename Traits , typename Alloc >
auto to_string_view (const std::basic_string< Char, Traits, Alloc > &s) -> basic_string_view< Char >
 
template<typename Char , FMT_ENABLE_IF(!std::is_empty< std_string_view< Char >>::value) >
auto to_string_view (std_string_view< Char > s) -> basic_string_view< Char >
 
template<typename Duration >
auto to_time_t (std::chrono::time_point< std::chrono::system_clock, Duration > time_point) -> std::time_t
 
template<typename Int >
FMT_CONSTEXPR auto to_unsigned (Int value) -> typename std::make_unsigned< Int >::type
 
auto umul128 (uint64_t x, uint64_t y) noexcept -> uint128_fallback
 
template<typename T >
auto unwrap (const std::reference_wrapper< T > &v) -> const T &
 
template<typename T >
auto unwrap (const T &v) -> const T &
 
FMT_CONSTEXPR auto utf8_decode (const char *s, uint32_t *c, int *e) -> const char *
 
template<typename Locale , typename Char >
auto vformat (const Locale &loc, basic_string_view< Char > fmt, basic_format_args< buffer_context< type_identity_t< Char >>> args) -> std::basic_string< Char >
 
FMT_BEGIN_EXPORT template FMT_API void vformat_to (buffer< char > &, string_view, typename vformat_args<>::type, locale_ref)
 
template<typename Char >
void vformat_to (buffer< Char > &buf, basic_string_view< Char > fmt, typename vformat_args< Char >::type args, locale_ref loc={})
 
template<typename Char >
void vformat_to (buffer< Char > &buf, const text_style &ts, basic_string_view< Char > format_str, basic_format_args< buffer_context< type_identity_t< Char >>> args)
 
void vprint_directly (std::ostream &os, string_view format_str, format_args args)
 
FMT_API void vprint_mojibake (std::FILE *, string_view, format_args)
 
template<typename Char , typename Context >
void vprintf (buffer< Char > &buf, basic_string_view< Char > format, basic_format_args< Context > args)
 
template<typename Char , typename OutputIt >
FMT_CONSTEXPR auto write (OutputIt out, basic_string_view< Char > s, const format_specs< Char > &specs) -> OutputIt
 
template<typename Char , typename OutputIt >
FMT_CONSTEXPR auto write (OutputIt out, basic_string_view< Char > value) -> OutputIt
 
template<typename Char , typename OutputIt >
FMT_CONSTEXPR auto write (OutputIt out, basic_string_view< type_identity_t< Char >> s, const format_specs< Char > &specs, locale_ref) -> OutputIt
 
template<typename Char , typename OutputIt >
FMT_CONSTEXPR auto write (OutputIt out, Char value) -> OutputIt
 
template<typename Char , typename OutputIt >
FMT_CONSTEXPR auto write (OutputIt out, Char value, const format_specs< Char > &specs, locale_ref loc={}) -> OutputIt
 
template<typename Char , typename OutputIt >
FMT_CONSTEXPR auto write (OutputIt out, const Char *s, const format_specs< Char > &specs, locale_ref) -> OutputIt
 
template<typename Char , typename OutputIt >
FMT_CONSTEXPR_CHAR_TRAITS auto write (OutputIt out, const Char *value) -> OutputIt
 
template<typename Char , typename OutputIt , FMT_ENABLE_IF(!std::is_same< Char, char >::value) >
auto write (OutputIt out, const std::tm &time, const std::locale &loc, char format, char modifier=0) -> OutputIt
 
template<typename Char , typename OutputIt , typename T , typename Context = basic_format_context<OutputIt, Char>>
FMT_CONSTEXPR auto write (OutputIt out, const T &value) -> enable_if_t< std::is_class< T >::value &&!is_string< T >::value &&!is_floating_point< T >::value &&!std::is_same< T, Char >::value &&!std::is_same< T, remove_cvref_t< decltype(arg_mapper< Context >().map(value))>>::value, OutputIt >
 
template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(is_string< T >::value) >
constexpr auto write (OutputIt out, const T &value) -> OutputIt
 
template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(std::is_same< T, void >::value) >
auto write (OutputIt out, const T *value, const format_specs< Char > &specs={}, locale_ref={}) -> OutputIt
 
template<typename Char , typename OutputIt >
auto write (OutputIt out, monostate, format_specs< Char >={}, locale_ref={}) -> OutputIt
 
template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(is_integral< T >::value && !std::is_same< T, bool >::value && !std::is_same< T, Char >::value) >
FMT_CONSTEXPR auto write (OutputIt out, T value) -> OutputIt
 
template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(is_fast_float< T >::value) >
FMT_CONSTEXPR20 auto write (OutputIt out, T value) -> OutputIt
 
template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(is_floating_point< T >::value && !is_fast_float< T >::value) >
auto write (OutputIt out, T value) -> OutputIt
 
template<typename Char , typename OutputIt , typename T , bool check = std::is_enum<T>::value && !std::is_same<T, Char>::value && mapped_type_constant<T, basic_format_context<OutputIt, Char>>::value != type::custom_type, FMT_ENABLE_IF(check) >
FMT_CONSTEXPR auto write (OutputIt out, T value) -> OutputIt
 
template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(is_integral< T >::value && !std::is_same< T, bool >::value && std::is_same< OutputIt, buffer_appender< Char >>::value) >
FMT_CONSTEXPR FMT_INLINE auto write (OutputIt out, T value, const format_specs< Char > &specs, locale_ref loc) -> OutputIt
 
template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(std::is_same< T, bool >::value) >
FMT_CONSTEXPR auto write (OutputIt out, T value, const format_specs< Char > &specs={}, locale_ref={}) -> OutputIt
 
template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(is_floating_point< T >::value) >
FMT_CONSTEXPR20 auto write (OutputIt out, T value, format_specs< Char > specs, locale_ref loc={}) -> OutputIt
 
template<typename Char >
void write_buffer (std::basic_ostream< Char > &os, buffer< Char > &buf)
 
template<align::type align = align::left, typename Char , typename OutputIt >
FMT_CONSTEXPR auto write_bytes (OutputIt out, string_view bytes, const format_specs< Char > &specs) -> OutputIt
 
template<typename Char , typename OutputIt >
FMT_CONSTEXPR auto write_char (OutputIt out, Char value, const format_specs< Char > &specs) -> OutputIt
 
template<typename CodeUnit >
void write_codecvt (codecvt_result< CodeUnit > &out, string_view in_buf, const std::locale &loc)
 
template<size_t width, typename Char , typename OutputIt >
auto write_codepoint (OutputIt out, char prefix, uint32_t cp) -> OutputIt
 
FMT_FUNC auto write_console (int, string_view) -> bool
 
FMT_FUNC auto write_console (std::FILE *, string_view) -> bool
 
void write_digit2_separated (char *buf, unsigned a, unsigned b, unsigned c, char sep)
 
template<typename OutputIt >
auto write_encoded_tm_str (OutputIt out, string_view in, const std::locale &loc) -> OutputIt
 
template<typename Char , typename OutputIt >
auto write_escaped_char (OutputIt out, Char v) -> OutputIt
 
template<typename OutputIt , typename Char >
auto write_escaped_cp (OutputIt out, const find_escape_result< Char > &escape) -> OutputIt
 
template<typename Char , typename OutputIt >
auto write_escaped_string (OutputIt out, basic_string_view< Char > str) -> OutputIt
 
template<typename Char , typename It >
FMT_CONSTEXPR auto write_exponent (int exp, It it) -> It
 
template<typename OutputIt , typename DecimalFP , typename Char >
FMT_CONSTEXPR20 auto write_float (OutputIt out, const DecimalFP &f, const format_specs< Char > &specs, float_specs fspecs, locale_ref loc) -> OutputIt
 
template<typename Char , typename OutputIt , typename T >
FMT_CONSTEXPR20 auto write_float (OutputIt out, T value, format_specs< Char > specs, locale_ref loc) -> OutputIt
 
template<typename Duration >
void write_floating_seconds (memory_buffer &buf, Duration duration, int num_fractional_digits=-1)
 
template<typename Char , typename OutputIt , typename Duration >
void write_fractional_seconds (OutputIt &out, Duration d, int precision=-1)
 
template<typename OutputIt , typename Char , typename W >
FMT_CONSTEXPR FMT_INLINE auto write_int (OutputIt out, int num_digits, unsigned prefix, const format_specs< Char > &specs, W write_digits) -> OutputIt
 
template<typename OutputIt , typename UInt , typename Char >
auto write_int (OutputIt out, UInt value, unsigned prefix, const format_specs< Char > &specs, const digit_grouping< Char > &grouping) -> OutputIt
 
template<typename Char , typename OutputIt , typename T >
FMT_CONSTEXPR FMT_INLINE auto write_int (OutputIt out, write_int_arg< T > arg, const format_specs< Char > &specs, locale_ref) -> OutputIt
 
template<typename Char , typename OutputIt , typename T >
FMT_CONSTEXPR FMT_NOINLINE auto write_int_noinline (OutputIt out, write_int_arg< T > arg, const format_specs< Char > &specs, locale_ref loc) -> OutputIt
 
FMT_FUNC auto write_loc (appender out, loc_value value, const format_specs<> &specs, locale_ref loc) -> bool
 
template<typename OutputIt , typename Char >
auto write_loc (OutputIt, loc_value, const format_specs< Char > &, locale_ref) -> bool
 
auto write_loc (std::back_insert_iterator< detail::buffer< wchar_t >> out, loc_value value, const format_specs< wchar_t > &specs, locale_ref loc) -> bool
 
template<typename Char , typename OutputIt >
FMT_CONSTEXPR20 auto write_nonfinite (OutputIt out, bool isnan, format_specs< Char > specs, const float_specs &fspecs) -> OutputIt
 
auto write_ostream_unicode (std::ostream &os, fmt::string_view data) -> bool
 
auto write_ostream_unicode (std::wostream &, fmt::basic_string_view< wchar_t >) -> bool
 
template<align::type align = align::left, typename OutputIt , typename Char , typename F >
constexpr auto write_padded (OutputIt out, const format_specs< Char > &specs, size_t size, F &&f) -> OutputIt
 
template<align::type align = align::left, typename OutputIt , typename Char , typename F >
FMT_CONSTEXPR auto write_padded (OutputIt out, const format_specs< Char > &specs, size_t size, size_t width, F &&f) -> OutputIt
 
template<typename OutputIt >
auto write_padding (OutputIt out, pad_type pad) -> OutputIt
 
template<typename OutputIt >
auto write_padding (OutputIt out, pad_type pad, int width) -> OutputIt
 
template<typename Char , typename OutputIt , typename UIntPtr >
auto write_ptr (OutputIt out, UIntPtr value, const format_specs< Char > *specs) -> OutputIt
 
template<typename Char , typename UInt , FMT_ENABLE_IF(std::is_integral< UInt >::value) >
auto write_significand (Char *out, UInt significand, int significand_size, int integral_size, Char decimal_point) -> Char *
 
template<typename Char , typename OutputIt >
constexpr auto write_significand (OutputIt out, const char *significand, int significand_size) -> OutputIt
 
template<typename OutputIt , typename Char >
FMT_CONSTEXPR auto write_significand (OutputIt out, const char *significand, int significand_size, int integral_size, Char decimal_point) -> OutputIt
 
template<typename Char , typename OutputIt , typename T , typename Grouping >
FMT_CONSTEXPR20 auto write_significand (OutputIt out, T significand, int significand_size, int exponent, const Grouping &grouping) -> OutputIt
 
template<typename OutputIt , typename Char , typename T , typename Grouping >
FMT_CONSTEXPR20 auto write_significand (OutputIt out, T significand, int significand_size, int integral_size, Char decimal_point, const Grouping &grouping) -> OutputIt
 
template<typename Char , typename OutputIt , typename UInt >
auto write_significand (OutputIt out, UInt significand, int significand_size) -> OutputIt
 
template<typename OutputIt , typename UInt , typename Char , FMT_ENABLE_IF(!std::is_pointer< remove_cvref_t< OutputIt >>::value) >
auto write_significand (OutputIt out, UInt significand, int significand_size, int integral_size, Char decimal_point) -> OutputIt
 
template<typename Char , typename OutputIt , FMT_ENABLE_IF(!std::is_same< Char, char >::value) >
auto write_tm_str (OutputIt out, string_view sv, const std::locale &loc) -> OutputIt
 

Variables

constexpr FMT_INLINE_VARIABLE uint32_t invalid_code_point = ~uint32_t()
 

Typedef Documentation

◆ buffer_appender

template<typename T >
using detail::buffer_appender = typedef conditional_t<std::is_same<T, char>::value, appender, std::back_insert_iterator<buffer<T> >>

Definition at line 1132 of file core.h.

◆ convert_float_result

template<typename T , bool doublish = num_bits<T>() == num_bits<double>()>
using detail::convert_float_result = typedef conditional_t<std::is_same<T, float>::value || doublish, double, T>

Definition at line 1707 of file format.h.

◆ float128

using detail::float128 = typedef void

Definition at line 814 of file format.h.

◆ format_as_t

template<typename T >
using detail::format_as_t = typedef typename format_as_result<T>::type

Definition at line 1346 of file core.h.

◆ format_func

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

Definition at line 3911 of file format.h.

◆ fp

using detail::fp = typedef basic_fp<unsigned long long>

Definition at line 1663 of file format.h.

◆ index_sequence

template<size_t... N>
using detail::index_sequence = typedef integer_sequence<size_t, N...>

Definition at line 189 of file ranges.h.

◆ is_exotic_char

template<typename T >
using detail::is_exotic_char = typedef bool_constant<!std::is_same<T, char>::value>

Definition at line 23 of file xchar.h.

◆ is_float128

template<typename T >
using detail::is_float128 = typedef std::is_same<T, float128>

Definition at line 816 of file format.h.

◆ is_floating_point

template<typename T >
using detail::is_floating_point = typedef bool_constant<std::is_floating_point<T>::value || is_float128<T>::value>

Definition at line 820 of file format.h.

◆ is_integer

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 782 of file format.h.

◆ is_signed

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

Definition at line 776 of file format.h.

◆ iterator_t

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

Definition at line 511 of file format.h.

◆ long_type

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

Definition at line 1335 of file core.h.

◆ make_index_sequence

template<size_t N>
using detail::make_index_sequence = typedef make_integer_sequence<size_t, N>

Definition at line 197 of file ranges.h.

◆ make_unsigned_char

template<typename Char >
using detail::make_unsigned_char = typedef typename conditional_t<std::is_integral<Char>::value, std::make_unsigned<Char>, type_identity<uint32_t> >::type

Definition at line 1796 of file format.h.

◆ mapped_type_constant

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 1501 of file core.h.

◆ maybe_const_range

template<typename R >
using detail::maybe_const_range = typedef conditional_t<has_const_begin_end<R>::value, const R, R>

Definition at line 410 of file ranges.h.

◆ range_format_constant

template<range_format K>
using detail::range_format_constant = typedef std::integral_constant<range_format, K>

Definition at line 516 of file ranges.h.

◆ range_formatter_type

template<typename Char , typename Element >
using detail::range_formatter_type = typedef formatter<remove_cvref_t<decltype(range_mapper<buffer_context<Char> >{}.map( std::declval<Element>()))>, Char>

Definition at line 406 of file ranges.h.

◆ range_reference_type

template<typename Range >
using detail::range_reference_type = typedef decltype(*detail::range_begin(std::declval<Range&>()))

Definition at line 279 of file ranges.h.

◆ reserve_iterator

template<typename OutputIt >
using detail::reserve_iterator = typedef remove_reference_t<decltype(reserve(std::declval<OutputIt&>(), 0))>

Definition at line 553 of file format.h.

◆ sentinel_t

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

Definition at line 512 of file format.h.

◆ tuple_index_sequence

template<typename T >
using detail::tuple_index_sequence = typedef make_index_sequence<std::tuple_size<T>::value>

Definition at line 201 of file ranges.h.

◆ uint128_t

Definition at line 439 of file format.h.

◆ uint32_or_64_or_128_t

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 1117 of file format.h.

◆ uint64_or_128_t

template<typename T >
using detail::uint64_or_128_t = typedef conditional_t<num_bits<T>() <= 64, uint64_t, uint128_t>

Definition at line 1119 of file format.h.

◆ uintptr_t

using detail::uintptr_t = typedef uint128_t

Definition at line 444 of file format.h.

◆ ulong_type

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

Definition at line 1336 of file core.h.

◆ uncvref_type

template<typename Range >
using detail::uncvref_type = typedef remove_cvref_t<range_reference_type<Range> >

Definition at line 285 of file ranges.h.

◆ void_t

template<typename... >
using detail::void_t = typedef void

Definition at line 1534 of file core.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
sint_set 
uint_set 
bool_set 
char_set 
float_set 
string_set 
cstring_set 
pointer_set 

Definition at line 633 of file core.h.

◆ anonymous enum

anonymous enum
Enumerator
long_short 

Definition at line 1334 of file core.h.

◆ anonymous enum

anonymous enum
Enumerator
packed_arg_bits 

Definition at line 1503 of file core.h.

◆ anonymous enum

anonymous enum
Enumerator
max_packed_args 

Definition at line 1505 of file core.h.

◆ anonymous enum

anonymous enum : unsigned long long
Enumerator
is_unpacked_bit 

Definition at line 1506 of file core.h.

◆ anonymous enum

anonymous enum : unsigned long long
Enumerator
has_named_args_bit 

Definition at line 1507 of file core.h.

◆ arg_id_kind

enum detail::arg_id_kind
strong
Enumerator
none 
index 
name 

Definition at line 2098 of file core.h.

◆ char8_type

enum detail::char8_type : unsigned char

Definition at line 599 of file format.h.

◆ dragon

Enumerator
predecessor_closer 
fixup 
fixed 
fixed 

Definition at line 3038 of file format.h.

◆ float_format

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

Definition at line 2417 of file format.h.

◆ int128_opt

enum detail::int128_opt
strong

Definition at line 383 of file core.h.

◆ numeric_system

Enumerator
standard 
alternative 

Definition at line 641 of file chrono.h.

◆ pad_type

enum detail::pad_type
strong
Enumerator
unspecified 
none 
zero 
space 

Definition at line 648 of file chrono.h.

◆ state

enum detail::state
strong
Enumerator
start 
align 
sign 
hash 
zero 
width 
precision 
locale 

Definition at line 2305 of file core.h.

◆ to_utf8_error_policy

Enumerator
abort 
replace 

Definition at line 1380 of file format.h.

◆ type

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 573 of file core.h.

◆ uint128_opt

enum detail::uint128_opt
strong

Definition at line 384 of file core.h.

Function Documentation

◆ abort_fuzzing_if()

FMT_CONSTEXPR void detail::abort_fuzzing_if ( bool  condition)
inline

Definition at line 282 of file format.h.

◆ adjust_precision()

FMT_CONSTEXPR20 void detail::adjust_precision ( int &  precision,
int  exp10 
)
inline

Definition at line 2773 of file format.h.

◆ assert_fail()

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

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

◆ assume()

FMT_INLINE void detail::assume ( bool  condition)

Definition at line 500 of file format.h.

◆ base_iterator() [1/2]

template<typename Iterator >
constexpr auto detail::base_iterator ( Iterator  ,
Iterator  it 
) -> Iterator
constexpr

Definition at line 575 of file format.h.

◆ base_iterator() [2/2]

template<typename Container , FMT_ENABLE_IF(is_contiguous< Container >::value) >
auto detail::base_iterator ( std::back_insert_iterator< Container >  it,
typename Container::value_type *   
) -> std::back_insert_iterator<Container>
inline

Definition at line 568 of file format.h.

◆ bit_cast() [1/2]

template<typename To , typename From , FMT_ENABLE_IF(sizeof(To)==sizeof(From)) >
FMT_CONSTEXPR20 auto detail::bit_cast ( const From &  from) -> To

Definition at line 303 of file format.h.

◆ bit_cast() [2/2]

template<typename To , typename From , FMT_ENABLE_IF(sizeof(To) > sizeof(From)) >
auto detail::bit_cast ( const From &  from) -> To
inline

Definition at line 462 of file format.h.

◆ check_char_specs()

template<typename Char >
FMT_CONSTEXPR auto detail::check_char_specs ( const format_specs< Char > &  specs) -> bool

Definition at line 2603 of file core.h.

◆ check_format_string() [1/2]

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

Definition at line 2694 of file core.h.

◆ check_format_string() [2/2]

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

Definition at line 2703 of file core.h.

◆ code_point_index() [1/3]

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

Definition at line 743 of file format.h.

◆ code_point_index() [2/3]

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

Definition at line 763 of file format.h.

◆ code_point_index() [3/3]

auto detail::code_point_index ( string_view  s,
size_t  n 
) -> size_t
inline

Definition at line 749 of file format.h.

◆ code_point_length()

template<typename Char >
FMT_CONSTEXPR auto detail::code_point_length ( const Char *  begin) -> int

Definition at line 2146 of file core.h.

◆ compute_width() [1/3]

template<typename Char >
auto detail::compute_width ( basic_string_view< Char >  s) -> size_t
inline

Definition at line 698 of file format.h.

◆ compute_width() [2/3]

auto detail::compute_width ( basic_string_view< char8_type s) -> size_t
inline

Definition at line 737 of file format.h.

◆ compute_width() [3/3]

FMT_CONSTEXPR auto detail::compute_width ( string_view  s) -> size_t
inline

Definition at line 703 of file format.h.

◆ const_check()

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

Definition at line 340 of file core.h.

◆ convert_arg()

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

Definition at line 167 of file printf.h.

◆ convert_float()

template<typename T >
constexpr auto detail::convert_float ( value) -> convert_float_result<T>
constexpr

Definition at line 1710 of file format.h.

◆ convert_for_visit()

template<typename T >
auto detail::convert_for_visit ( ) -> monostate

Definition at line 386 of file core.h.

◆ copy() [1/4]

template<typename OutputIt >
auto detail::copy ( char  ch,
OutputIt  out 
) -> OutputIt

Definition at line 34 of file ranges.h.

◆ copy() [2/4]

template<typename OutputIt >
auto detail::copy ( const char *  str,
OutputIt  out 
) -> OutputIt

Definition at line 29 of file ranges.h.

◆ copy() [3/4]

template<typename Range , typename OutputIt >
auto detail::copy ( const Range &  range,
OutputIt  out 
) -> OutputIt

Definition at line 22 of file ranges.h.

◆ copy() [4/4]

template<typename OutputIt >
auto detail::copy ( wchar_t  ch,
OutputIt  out 
) -> OutputIt

Definition at line 39 of file ranges.h.

◆ copy2()

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

Definition at line 1290 of file format.h.

◆ copy_str() [1/6]

template<typename Char , typename InputIt >
auto detail::copy_str ( InputIt  begin,
InputIt  end,
appender  out 
) -> appender

Definition at line 1510 of file core.h.

◆ copy_str() [2/6]

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

Definition at line 17 of file compile.h.

◆ copy_str() [3/6]

template<typename Char , typename InputIt , typename OutputIt >
FMT_CONSTEXPR auto detail::copy_str ( InputIt  begin,
InputIt  end,
OutputIt  out 
) -> OutputIt

Definition at line 794 of file core.h.

◆ copy_str() [4/6]

template<typename Char , typename InputIt >
auto detail::copy_str ( InputIt  begin,
InputIt  end,
std::back_insert_iterator< std::string >  out 
) -> std::back_insert_iterator<std::string>

Definition at line 1515 of file core.h.

◆ copy_str() [5/6]

template<typename Char , typename R , typename OutputIt >
FMT_CONSTEXPR auto detail::copy_str ( R &&  rng,
OutputIt  out 
) -> OutputIt

Definition at line 1523 of file core.h.

◆ copy_str() [6/6]

template<typename Char , typename T , typename U , FMT_ENABLE_IF( std::is_same< remove_const_t< T >, U >::value &&is_char< U >::value) >
FMT_CONSTEXPR auto detail::copy_str ( T *  begin,
T *  end,
U *  out 
) -> U*

Definition at line 803 of file core.h.

◆ copy_str_noinline()

template<typename OutChar , typename InputIt , typename OutputIt >
FMT_CONSTEXPR FMT_NOINLINE auto detail::copy_str_noinline ( InputIt  begin,
InputIt  end,
OutputIt  out 
) -> OutputIt

Definition at line 603 of file format.h.

◆ copy_unit() [1/2]

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

Definition at line 1711 of file chrono.h.

◆ copy_unit() [2/2]

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

Definition at line 1716 of file chrono.h.

◆ count() [1/2]

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

Definition at line 1222 of file core.h.

◆ count() [2/2]

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

Definition at line 1223 of file core.h.

◆ count_digits() [1/3]

template<int BITS, typename UInt >
FMT_CONSTEXPR auto detail::count_digits ( UInt  n) -> int

Definition at line 1198 of file format.h.

◆ count_digits() [2/3]

FMT_CONSTEXPR20 auto detail::count_digits ( uint32_t  n) -> int
inline

Definition at line 1239 of file format.h.

◆ count_digits() [3/3]

FMT_CONSTEXPR20 auto detail::count_digits ( uint64_t  n) -> int
inline

Definition at line 1187 of file format.h.

◆ count_digits_fallback()

template<typename T >
FMT_CONSTEXPR auto detail::count_digits_fallback ( n) -> int

Definition at line 1144 of file format.h.

◆ count_named_args()

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

Definition at line 1227 of file core.h.

◆ count_statically_named_args()

template<typename... Args>
constexpr auto detail::count_statically_named_args ( ) -> size_t
constexpr

Definition at line 1232 of file core.h.

◆ countl_zero() [1/2]

FMT_CONSTEXPR20 auto detail::countl_zero ( uint32_t  n) -> int
inline

Definition at line 486 of file format.h.

◆ countl_zero() [2/2]

FMT_CONSTEXPR20 auto detail::countl_zero ( uint64_t  n) -> int
inline

Definition at line 493 of file format.h.

◆ countl_zero_fallback()

template<typename UInt >
FMT_CONSTEXPR20 auto detail::countl_zero_fallback ( UInt  n) -> int
inline

Definition at line 479 of file format.h.

◆ decimal_point() [1/2]

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

Definition at line 1273 of file format.h.

◆ decimal_point() [2/2]

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

Definition at line 1276 of file format.h.

◆ decimal_point_impl() [1/2]

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

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

◆ decimal_point_impl() [2/2]

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

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

◆ digits10()

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

Definition at line 1248 of file format.h.

◆ digits10< int128_opt >()

template<>
constexpr auto detail::digits10< int128_opt > ( ) -> int
constexprnoexcept

Definition at line 1251 of file format.h.

◆ digits10< uint128_t >()

template<>
constexpr auto detail::digits10< uint128_t > ( ) -> int
constexprnoexcept

Definition at line 1252 of file format.h.

◆ digits2()

constexpr auto detail::digits2 ( size_t  value) -> const char*
constexpr

Definition at line 1127 of file format.h.

◆ do_parse_arg_id()

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

Definition at line 2211 of file core.h.

◆ do_write()

template<typename Char >
void detail::do_write ( buffer< Char > &  buf,
const std::tm &  time,
const std::locale &  loc,
char  format,
char  modifier 
)
inline

Definition at line 407 of file chrono.h.

◆ do_write_float()

template<typename OutputIt , typename DecimalFP , typename Char , typename Grouping = digit_grouping<Char>>
FMT_CONSTEXPR20 auto detail::do_write_float ( OutputIt  out,
const DecimalFP &  f,
const format_specs< Char > &  specs,
float_specs  fspecs,
locale_ref  loc 
) -> OutputIt

Definition at line 2602 of file format.h.

◆ encode_types() [1/2]

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

Definition at line 1566 of file core.h.

◆ encode_types() [2/2]

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

Definition at line 1571 of file core.h.

◆ equal2() [1/2]

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

Definition at line 1281 of file format.h.

◆ equal2() [2/2]

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

Definition at line 1284 of file format.h.

◆ exponent_bias()

template<typename Float >
constexpr auto detail::exponent_bias ( ) -> int
constexpr

Definition at line 1588 of file format.h.

◆ exponent_mask()

template<typename Float >
constexpr auto detail::exponent_mask ( ) -> typename dragonbox::float_info<Float>::carrier_uint
constexpr

Definition at line 1582 of file format.h.

◆ fill()

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

Definition at line 1715 of file format.h.

◆ fill_n() [1/2]

template<typename OutputIt , typename Size , typename T >
FMT_CONSTEXPR auto detail::fill_n ( OutputIt  out,
Size  count,
const T &  value 
) -> OutputIt

Definition at line 582 of file format.h.

◆ fill_n() [2/2]

template<typename T , typename Size >
FMT_CONSTEXPR20 auto detail::fill_n ( T *  out,
Size  count,
char  value 
) -> T*

Definition at line 588 of file format.h.

◆ find()

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

Definition at line 2154 of file core.h.

◆ find< false, char >()

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

Definition at line 2162 of file core.h.

◆ find_escape() [1/2]

template<typename Char >
auto detail::find_escape ( const Char *  begin,
const Char *  end 
) -> find_escape_result<Char>

Definition at line 1799 of file format.h.

◆ find_escape() [2/2]

auto detail::find_escape ( const char *  begin,
const char *  end 
) -> find_escape_result<char>
inline

Definition at line 1809 of file format.h.

◆ first()

template<typename T , typename... Tail>
auto detail::first ( const T &  value,
const Tail &  ... 
) -> const T&

Definition at line 60 of file compile.h.

◆ fmt_duration_cast()

template<typename To , typename FromRep , typename FromPeriod , FMT_ENABLE_IF(is_same_arithmetic_type< FromRep, typename To::rep >::value) >
auto detail::fmt_duration_cast ( std::chrono::duration< FromRep, FromPeriod >  from) -> To

Definition at line 447 of file chrono.h.

◆ FMT_NOMACRO()

auto localtime_r detail::FMT_NOMACRO (   ...) -> null<>
inline

Definition at line 327 of file chrono.h.

◆ FMT_TYPE_CONSTANT() [1/14]

detail::FMT_TYPE_CONSTANT ( basic_string_view< Char >  ,
string_type   
)

◆ FMT_TYPE_CONSTANT() [2/14]

detail::FMT_TYPE_CONSTANT ( bool  ,
bool_type   
)

◆ FMT_TYPE_CONSTANT() [3/14]

detail::FMT_TYPE_CONSTANT ( Char  ,
char_type   
)

◆ FMT_TYPE_CONSTANT() [4/14]

detail::FMT_TYPE_CONSTANT ( const Char *  ,
cstring_type   
)

◆ FMT_TYPE_CONSTANT() [5/14]

detail::FMT_TYPE_CONSTANT ( const void *  ,
pointer_type   
)

◆ FMT_TYPE_CONSTANT() [6/14]

detail::FMT_TYPE_CONSTANT ( double  ,
double_type   
)

◆ FMT_TYPE_CONSTANT() [7/14]

detail::FMT_TYPE_CONSTANT ( float  ,
float_type   
)

◆ FMT_TYPE_CONSTANT() [8/14]

detail::FMT_TYPE_CONSTANT ( int  ,
int_type   
)

◆ FMT_TYPE_CONSTANT() [9/14]

detail::FMT_TYPE_CONSTANT ( int128_opt  ,
int128_type   
)

◆ FMT_TYPE_CONSTANT() [10/14]

detail::FMT_TYPE_CONSTANT ( long double  ,
long_double_type   
)

◆ FMT_TYPE_CONSTANT() [11/14]

detail::FMT_TYPE_CONSTANT ( long long  ,
long_long_type   
)

◆ FMT_TYPE_CONSTANT() [12/14]

detail::FMT_TYPE_CONSTANT ( uint128_opt  ,
uint128_type   
)

◆ FMT_TYPE_CONSTANT() [13/14]

detail::FMT_TYPE_CONSTANT ( unsigned long long  ,
ulong_long_type   
)

◆ FMT_TYPE_CONSTANT() [14/14]

detail::FMT_TYPE_CONSTANT ( unsigned  ,
uint_type   
)

◆ for_each() [1/2]

template<typename Tuple , typename F , size_t... Is>
FMT_CONSTEXPR void detail::for_each ( index_sequence< Is... >  ,
Tuple &&  t,
F &&  f 
)

Definition at line 226 of file ranges.h.

◆ for_each() [2/2]

template<typename Tuple , typename F >
FMT_CONSTEXPR void detail::for_each ( Tuple &&  t,
F &&  f 
)

Definition at line 234 of file ranges.h.

◆ for_each2() [1/2]

template<typename Tuple1 , typename Tuple2 , typename F , size_t... Is>
void detail::for_each2 ( index_sequence< Is... >  ,
Tuple1 &&  t1,
Tuple2 &&  t2,
F &&  f 
)

Definition at line 240 of file ranges.h.

◆ for_each2() [2/2]

template<typename Tuple1 , typename Tuple2 , typename F >
void detail::for_each2 ( Tuple1 &&  t1,
Tuple2 &&  t2,
F &&  f 
)

Definition at line 247 of file ranges.h.

◆ for_each_codepoint()

template<typename F >
FMT_CONSTEXPR void detail::for_each_codepoint ( string_view  s,
f 
)

Definition at line 667 of file format.h.

◆ format_decimal() [1/2]

template<typename Char , typename UInt >
FMT_CONSTEXPR20 auto detail::format_decimal ( Char *  out,
UInt  value,
int  size 
) -> format_decimal_result<Char*>

Definition at line 1308 of file format.h.

◆ format_decimal() [2/2]

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

Definition at line 1332 of file format.h.

◆ format_dragon()

FMT_CONSTEXPR20 void detail::format_dragon ( basic_fp< uint128_t value,
unsigned  flags,
int  num_digits,
buffer< char > &  buf,
int &  exp10 
)
inline

Definition at line 3047 of file format.h.

◆ format_duration_unit()

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

Definition at line 1724 of file chrono.h.

◆ format_duration_value()

template<typename Char , typename Rep , typename OutputIt , FMT_ENABLE_IF(std::is_integral< Rep >::value) >
auto detail::format_duration_value ( OutputIt  out,
Rep  val,
int  precision 
) -> OutputIt

Definition at line 1696 of file chrono.h.

◆ format_error_code()

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

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

◆ format_float()

template<typename Float >
FMT_CONSTEXPR20 auto detail::format_float ( Float  value,
int  precision,
float_specs  specs,
buffer< char > &  buf 
) -> int

Definition at line 3278 of file format.h.

◆ format_hexfloat()

template<typename Float , FMT_ENABLE_IF(!is_double_double< Float >::value) >
FMT_CONSTEXPR20 void detail::format_hexfloat ( Float  value,
int  precision,
float_specs  specs,
buffer< char > &  buf 
)

Definition at line 3180 of file format.h.

◆ format_uint() [1/2]

template<unsigned BASE_BITS, typename Char , typename UInt >
FMT_CONSTEXPR auto detail::format_uint ( Char *  buffer,
UInt  value,
int  num_digits,
bool  upper = false 
) -> Char*

Definition at line 1341 of file format.h.

◆ format_uint() [2/2]

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

Definition at line 1355 of file format.h.

◆ format_value()

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

Definition at line 125 of file ostream.h.

◆ fractional_part_rounding_thresholds()

constexpr auto detail::fractional_part_rounding_thresholds ( int  index) -> uint32_t
constexpr

Definition at line 3266 of file format.h.

◆ fwrite_fully()

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

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

◆ get_arg()

template<typename Context , typename ID >
FMT_CONSTEXPR auto detail::get_arg ( Context &  ctx,
ID  id 
) -> decltype(ctx.arg(id))

Definition at line 3842 of file format.h.

◆ get_arg_index_by_name()

template<typename... Args, typename Char >
FMT_CONSTEXPR auto detail::get_arg_index_by_name ( basic_string_view< Char >  name) -> int

Definition at line 2628 of file core.h.

◆ get_buffer() [1/2]

template<typename T , typename OutputIt >
auto detail::get_buffer ( OutputIt  out) -> iterator_buffer<OutputIt, T>

Definition at line 1136 of file core.h.

◆ get_buffer() [2/2]

template<typename T , typename Buf , FMT_ENABLE_IF(std::is_base_of< buffer< char >, Buf >::value) >
auto detail::get_buffer ( std::back_insert_iterator< Buf >  out) -> buffer<char>&

Definition at line 1141 of file core.h.

◆ get_classic_locale()

auto detail::get_classic_locale ( ) -> const std::locale&
inline

Definition at line 332 of file chrono.h.

◆ get_container()

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

Definition at line 783 of file core.h.

◆ get_data() [1/2]

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

Definition at line 520 of file format.h.

◆ get_data() [2/2]

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

Definition at line 516 of file format.h.

◆ get_dynamic_spec()

template<typename Handler , typename FormatArg >
FMT_CONSTEXPR auto detail::get_dynamic_spec ( FormatArg  arg) -> int

Definition at line 3834 of file format.h.

◆ get_iterator() [1/2]

template<typename Buf , typename OutputIt >
FMT_INLINE auto detail::get_iterator ( Buf &  buf,
OutputIt   
) -> decltype(buf.out())

Definition at line 1146 of file core.h.

◆ get_iterator() [2/2]

template<typename T , typename OutputIt >
auto detail::get_iterator ( buffer< T > &  ,
OutputIt  out 
) -> OutputIt

Definition at line 1150 of file core.h.

◆ get_milliseconds()

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

Definition at line 1673 of file chrono.h.

◆ get_significand_size() [1/2]

constexpr auto detail::get_significand_size ( const big_decimal_fp f) -> int
constexpr

Definition at line 2503 of file format.h.

◆ get_significand_size() [2/2]

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

Definition at line 2507 of file format.h.

◆ get_units()

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

Definition at line 617 of file chrono.h.

◆ gmtime_r()

auto detail::gmtime_r (   ...) -> null<>
inline

Definition at line 329 of file chrono.h.

◆ gmtime_s()

auto detail::gmtime_s (   ...) -> null<>
inline

Definition at line 330 of file chrono.h.

◆ handle_dynamic_spec()

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

Definition at line 3849 of file format.h.

◆ has_const_formatter()

template<typename T , typename Context >
constexpr auto detail::has_const_formatter ( ) -> bool
constexpr

Definition at line 1126 of file core.h.

◆ has_const_formatter_impl() [1/2]

template<typename Context >
constexpr auto detail::has_const_formatter_impl (   ...) -> bool
constexpr

Definition at line 1122 of file core.h.

◆ has_const_formatter_impl() [2/2]

template<typename Context , typename T >
constexpr auto detail::has_const_formatter_impl ( T *  ) -> decltype(typename Context::template formatter_type<T>().format( std::declval<const T&>(), std::declval<Context&>()), true)
constexpr

Definition at line 1115 of file core.h.

◆ has_implicit_bit()

template<typename Float >
constexpr auto detail::has_implicit_bit ( ) -> bool
constexpr

Definition at line 1567 of file format.h.

◆ ignore_unused()

template<typename... T>
FMT_CONSTEXPR void detail::ignore_unused ( const T &  ...)

Definition at line 319 of file core.h.

◆ in()

constexpr auto detail::in ( type  t,
int  set 
) -> bool
constexpr

Definition at line 628 of file core.h.

◆ init_named_args() [1/3]

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

Definition at line 1195 of file core.h.

◆ init_named_args() [2/3]

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

Definition at line 1205 of file core.h.

◆ init_named_args() [3/3]

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

Definition at line 1219 of file core.h.

◆ is_arithmetic_type()

constexpr auto detail::is_arithmetic_type ( type  t) -> bool
constexpr

Definition at line 623 of file core.h.

◆ is_big_endian()

auto detail::is_big_endian ( ) -> bool
inline

Definition at line 313 of file format.h.

◆ is_constant_evaluated()

constexpr FMT_INLINE auto detail::is_constant_evaluated ( bool  default_value = false) -> bool
constexprnoexcept

Definition at line 321 of file core.h.

◆ is_integral_type()

constexpr auto detail::is_integral_type ( type  t) -> bool
constexpr

Definition at line 620 of file core.h.

◆ is_name_start()

template<typename Char >
constexpr auto detail::is_name_start ( Char  c) -> bool
constexpr

Definition at line 2206 of file core.h.

◆ is_negative()

template<typename T , FMT_ENABLE_IF(is_signed< T >::value) >
constexpr auto detail::is_negative ( value) -> bool
constexpr

Definition at line 1095 of file format.h.

◆ is_printable() [1/2]

auto detail::is_printable ( uint16_t  x,
const singleton singletons,
size_t  singletons_size,
const unsigned char *  singleton_lowers,
const unsigned char *  normal,
size_t  normal_size 
) -> bool
inline

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

◆ is_printable() [2/2]

FMT_API auto detail::is_printable ( uint32_t  cp) -> bool

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

◆ is_supported_floating_point()

template<typename T >
FMT_CONSTEXPR auto detail::is_supported_floating_point ( ) -> bool

Definition at line 1104 of file format.h.

◆ is_utf8()

FMT_CONSTEXPR auto detail::is_utf8 ( ) -> bool
inline

Definition at line 397 of file core.h.

◆ isfinite() [1/3]

template<typename T , FMT_ENABLE_IF(std::is_floating_point< T >::value && has_isfinite< T >::value) >
FMT_CONSTEXPR20 auto detail::isfinite ( value) -> bool

Definition at line 2747 of file format.h.

◆ isfinite() [2/3]

template<typename T , FMT_ENABLE_IF(!has_isfinite< T >::value) >
FMT_CONSTEXPR auto detail::isfinite ( value) -> bool

Definition at line 2754 of file format.h.

◆ isfinite() [3/3]

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

Definition at line 1647 of file chrono.h.

◆ isnan()

template<typename T >
constexpr auto detail::isnan ( value) -> bool
constexpr

Definition at line 2734 of file format.h.

◆ localtime_s()

auto detail::localtime_s (   ...) -> null<>
inline

Definition at line 328 of file chrono.h.

◆ make_arg() [1/3]

template<typename Context , typename T >
FMT_CONSTEXPR auto detail::make_arg ( T &  val) -> basic_format_arg<Context>

Definition at line 1611 of file core.h.

◆ make_arg() [2/3]

template<bool PACKED, typename Context , typename T , FMT_ENABLE_IF(!PACKED) >
FMT_CONSTEXPR auto detail::make_arg ( T &  val) -> basic_format_arg<Context>
inline

Definition at line 1619 of file core.h.

◆ make_arg() [3/3]

template<bool PACKED, typename Context , typename T , FMT_ENABLE_IF(PACKED) >
FMT_CONSTEXPR FMT_INLINE auto detail::make_arg ( T &  val) -> value<Context>

Definition at line 1582 of file core.h.

◆ make_arg_formatter()

template<typename Char >
auto detail::make_arg_formatter ( buffer_appender< Char >  iter,
format_specs< Char > &  s 
) -> arg_formatter<Char>

Definition at line 227 of file printf.h.

◆ make_background_color()

template<typename Char >
FMT_CONSTEXPR auto detail::make_background_color ( detail::color_type  background) -> ansi_color_escape<Char>
noexcept

Definition at line 421 of file color.h.

◆ make_emphasis()

template<typename Char >
FMT_CONSTEXPR auto detail::make_emphasis ( emphasis  em) -> ansi_color_escape<Char>
noexcept

Definition at line 427 of file color.h.

◆ make_foreground_color()

template<typename Char >
FMT_CONSTEXPR auto detail::make_foreground_color ( detail::color_type  foreground) -> ansi_color_escape<Char>
noexcept

Definition at line 415 of file color.h.

◆ make_write_int_arg()

template<typename T >
FMT_CONSTEXPR auto detail::make_write_int_arg ( value,
sign_t  sign 
) -> write_int_arg<uint32_or_64_or_128_t<T>>

Definition at line 2152 of file format.h.

◆ max_value()

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

Definition at line 449 of file format.h.

◆ maybe_set_debug_format() [1/2]

template<typename Formatter >
FMT_CONSTEXPR void detail::maybe_set_debug_format ( Formatter &  ,
  ... 
)

Definition at line 293 of file ranges.h.

◆ maybe_set_debug_format() [2/2]

template<typename Formatter >
FMT_CONSTEXPR auto detail::maybe_set_debug_format ( Formatter &  f,
bool  set 
) -> decltype(f.set_debug_format(set))

Definition at line 288 of file ranges.h.

◆ mod()

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

Definition at line 1652 of file chrono.h.

◆ multiply()

FMT_CONSTEXPR auto detail::multiply ( uint64_t  lhs,
uint64_t  rhs 
) -> uint64_t
inline

Definition at line 1684 of file format.h.

◆ needs_escape()

auto detail::needs_escape ( uint32_t  cp) -> bool
inline

Definition at line 1781 of file format.h.

◆ normalize()

template<int SHIFT = 0, typename F >
FMT_CONSTEXPR auto detail::normalize ( basic_fp< F >  value) -> basic_fp<F>

Definition at line 1667 of file format.h.

◆ num_bits()

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

Definition at line 452 of file format.h.

◆ num_bits< int128_opt >()

template<>
constexpr auto detail::num_bits< int128_opt > ( ) -> int
constexpr

Definition at line 456 of file format.h.

◆ num_bits< uint128_t >()

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

Definition at line 457 of file format.h.

◆ num_significand_bits()

template<typename Float >
constexpr auto detail::num_significand_bits ( ) -> int
constexpr

Definition at line 1574 of file format.h.

◆ operator*()

FMT_CONSTEXPR auto detail::operator* ( fp  x,
fp  y 
) -> fp
inline

Definition at line 1701 of file format.h.

◆ operator==()

template<typename F >
auto detail::operator== ( basic_fp< F >  x,
basic_fp< F >  y 
) -> bool
inline

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

◆ parse_align() [1/2]

FMT_CONSTEXPR auto detail::parse_align ( char  c) -> align_t
inline

Definition at line 2194 of file core.h.

◆ parse_align() [2/2]

template<typename Char >
FMT_CONSTEXPR auto detail::parse_align ( const Char *  begin,
const Char *  end,
format_specs< Char > &  specs 
) -> const Char*

Definition at line 2375 of file format.h.

◆ parse_arg_id()

template<typename Char , typename Handler >
FMT_CONSTEXPR FMT_INLINE auto detail::parse_arg_id ( const Char *  begin,
const Char *  end,
Handler &&  handler 
) -> const Char*

Definition at line 2240 of file core.h.

◆ parse_chrono_format()

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

Definition at line 673 of file chrono.h.

◆ parse_dynamic_spec()

template<typename Char >
FMT_CONSTEXPR auto detail::parse_dynamic_spec ( const Char *  begin,
const Char *  end,
int &  value,
arg_ref< Char > &  ref,
basic_format_parse_context< Char > &  ctx 
) -> const Char*

Definition at line 2271 of file core.h.

◆ parse_flags()

template<typename Char >
void detail::parse_flags ( format_specs< Char > &  specs,
const Char *&  it,
const Char *  end 
)

Definition at line 316 of file printf.h.

◆ parse_float_type_spec()

template<typename Char >
FMT_CONSTEXPR auto detail::parse_float_type_spec ( const format_specs< Char > &  specs) -> float_specs

Definition at line 2435 of file format.h.

◆ parse_format_specs() [1/2]

template<typename Char >
FMT_CONSTEXPR FMT_INLINE auto detail::parse_format_specs ( const Char *  begin,
const Char *  end,
dynamic_format_specs< Char > &  specs,
basic_format_parse_context< Char > &  ctx,
type  arg_type 
) -> const Char*

Definition at line 2309 of file core.h.

◆ parse_format_specs() [2/2]

template<typename T , typename ParseContext >
FMT_CONSTEXPR auto detail::parse_format_specs ( ParseContext &  ctx) -> decltype(ctx.begin())

Definition at line 2580 of file core.h.

◆ parse_format_string()

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

Definition at line 2523 of file core.h.

◆ parse_header()

template<typename Char , typename GetArg >
auto detail::parse_header ( const Char *&  it,
const Char *  end,
format_specs< Char > &  specs,
GetArg  get_arg 
) -> int

Definition at line 341 of file printf.h.

◆ parse_nonnegative_int()

template<typename Char >
FMT_CONSTEXPR auto detail::parse_nonnegative_int ( const Char *&  begin,
const Char *  end,
int  error_value 
) -> int
noexcept

Definition at line 2172 of file core.h.

◆ parse_precision()

template<typename Char >
FMT_CONSTEXPR auto detail::parse_precision ( const Char *  begin,
const Char *  end,
int &  value,
arg_ref< Char > &  ref,
basic_format_parse_context< Char > &  ctx 
) -> const Char*

Definition at line 2293 of file core.h.

◆ parse_printf_presentation_type()

auto detail::parse_printf_presentation_type ( char  c,
type  t 
) -> presentation_type
inline

Definition at line 378 of file printf.h.

◆ parse_replacement_field()

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

Definition at line 2486 of file core.h.

◆ pow10()

constexpr auto detail::pow10 ( std::uint32_t  n) -> long long
constexpr

Definition at line 1069 of file chrono.h.

◆ prefix_append()

FMT_CONSTEXPR void detail::prefix_append ( unsigned &  prefix,
unsigned  value 
)
inline

Definition at line 2074 of file format.h.

◆ print()

FMT_API void detail::print ( std::FILE *  f,
string_view  text 
)

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

◆ range_begin() [1/3]

template<typename T , std::size_t N>
auto detail::range_begin ( const T(&)  arr[N]) -> const T*

Definition at line 101 of file ranges.h.

◆ range_begin() [2/3]

template<typename T >
auto detail::range_begin ( T &&  rng) -> enable_if_t<!has_member_fn_begin_end_t<T&&>::value, decltype(begin(static_cast<T&&>(rng)))>

Definition at line 126 of file ranges.h.

◆ range_begin() [3/3]

template<typename T >
auto detail::range_begin ( T &&  rng) &&

◆ range_end() [1/3]

template<typename T , std::size_t N>
auto detail::range_end ( const T(&)  arr[N]) -> const T*

Definition at line 105 of file ranges.h.

◆ range_end() [2/3]

template<typename T >
auto detail::range_end ( T &&  rng) -> enable_if_t<!has_member_fn_begin_end_t<T&&>::value, decltype(end(static_cast<T&&>(rng)))>

Definition at line 132 of file ranges.h.

◆ range_end() [3/3]

template<typename T >
auto detail::range_end ( T &&  rng) &&

◆ report_error()

FMT_API void detail::report_error ( format_func  func,
int  error_code,
const char *  message 
)
noexcept

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

◆ reserve() [1/3]

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

Definition at line 540 of file format.h.

◆ reserve() [2/3]

template<typename Iterator >
constexpr auto detail::reserve ( Iterator &  it,
size_t   
) -> Iterator&
constexpr

Definition at line 547 of file format.h.

◆ reserve() [3/3]

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

Definition at line 531 of file format.h.

◆ reset_color()

template<typename Char >
void detail::reset_color ( buffer< Char > &  buffer)
inline

Definition at line 432 of file color.h.

◆ rotr() [1/2]

FMT_CONSTEXPR auto detail::rotr ( uint32_t  n,
uint32_t  r 
) -> uint32_t
inlinenoexcept

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

◆ rotr() [2/2]

FMT_CONSTEXPR auto detail::rotr ( uint64_t  n,
uint32_t  r 
) -> uint64_t
inlinenoexcept

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

◆ set()

constexpr auto detail::set ( type  rhs) -> int
constexpr

Definition at line 627 of file core.h.

◆ sign()

template<typename Char , typename Sign >
constexpr auto detail::sign ( Sign  s) -> Char
constexpr

Definition at line 1137 of file format.h.

◆ signbit()

template<typename T , FMT_ENABLE_IF(is_floating_point< T >::value) >
FMT_INLINE FMT_CONSTEXPR bool detail::signbit ( value)

Definition at line 2761 of file format.h.

◆ thousands_sep() [1/2]

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

Definition at line 1262 of file format.h.

◆ thousands_sep() [2/2]

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

Definition at line 1267 of file format.h.

◆ thousands_sep_impl() [1/2]

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

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

◆ thousands_sep_impl() [2/2]

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

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

◆ thousands_sep_impl< char >()

◆ thousands_sep_impl< wchar_t >()

◆ throw_format_error()

FMT_FUNC void detail::throw_format_error ( const char *  message)

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

◆ tm_mon_full_name()

auto detail::tm_mon_full_name ( int  mon) -> const char*
inline

Definition at line 1017 of file chrono.h.

◆ tm_mon_short_name()

auto detail::tm_mon_short_name ( int  mon) -> const char*
inline

Definition at line 1023 of file chrono.h.

◆ tm_wday_full_name()

auto detail::tm_wday_full_name ( int  wday) -> const char*
inline

Definition at line 1005 of file chrono.h.

◆ tm_wday_short_name()

auto detail::tm_wday_short_name ( int  wday) -> const char*
inline

Definition at line 1011 of file chrono.h.

◆ to_ascii()

template<typename Char , FMT_ENABLE_IF(std::is_integral< Char >::value) >
constexpr auto detail::to_ascii ( Char  c) -> char
constexpr

Definition at line 2136 of file core.h.

◆ to_nonnegative_int()

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

Definition at line 1055 of file chrono.h.

◆ to_pointer() [1/2]

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

Definition at line 559 of file format.h.

◆ to_pointer() [2/2]

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

Definition at line 556 of file format.h.

◆ to_string_view() [1/6]

void detail::to_string_view (   ...)

◆ to_string_view() [2/6]

template<typename Char >
constexpr auto detail::to_string_view ( basic_string_view< Char >  s) -> basic_string_view<Char>
constexpr

Definition at line 543 of file core.h.

◆ to_string_view() [3/6]

template<typename Char , FMT_ENABLE_IF(is_char< Char >::value) >
FMT_INLINE auto detail::to_string_view ( const Char *  s) -> basic_string_view<Char>

Definition at line 534 of file core.h.

◆ to_string_view() [4/6]

template<typename S , FMT_ENABLE_IF(is_compile_string< S >::value) >
constexpr auto detail::to_string_view ( const S s) -> basic_string_view<typename S::char_type>
constexpr

Definition at line 553 of file core.h.

◆ to_string_view() [5/6]

template<typename Char , typename Traits , typename Alloc >
auto detail::to_string_view ( const std::basic_string< Char, Traits, Alloc > &  s) -> basic_string_view<Char>
inline

Definition at line 538 of file core.h.

◆ to_string_view() [6/6]

template<typename Char , FMT_ENABLE_IF(!std::is_empty< std_string_view< Char >>::value) >
auto detail::to_string_view ( std_string_view< Char >  s) -> basic_string_view<Char>
inline

Definition at line 549 of file core.h.

◆ to_time_t()

template<typename Duration >
auto detail::to_time_t ( std::chrono::time_point< std::chrono::system_clock, Duration >  time_point) -> std::time_t

Definition at line 470 of file chrono.h.

◆ to_unsigned()

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

Definition at line 391 of file core.h.

◆ umul128()

auto detail::umul128 ( uint64_t  x,
uint64_t  y 
) -> uint128_fallback
inlinenoexcept

Definition at line 1450 of file format.h.

◆ unwrap() [1/2]

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

Definition at line 27 of file args.h.

◆ unwrap() [2/2]

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

Definition at line 25 of file args.h.

◆ utf8_decode()

FMT_CONSTEXPR auto detail::utf8_decode ( const char *  s,
uint32_t *  c,
int *  e 
) -> const char*
inline

Definition at line 625 of file format.h.

◆ vformat()

template<typename Locale , typename Char >
auto detail::vformat ( const Locale &  loc,
basic_string_view< Char >  fmt,
basic_format_args< buffer_context< type_identity_t< Char >>>  args 
) -> std::basic_string<Char>

Definition at line 3903 of file format.h.

◆ vformat_to() [1/3]

FMT_BEGIN_EXPORT template FMT_API void detail::vformat_to ( buffer< char > &  ,
string_view  ,
typename vformat_args<>::type  ,
locale_ref   
)

◆ vformat_to() [2/3]

template<typename Char >
void detail::vformat_to ( buffer< Char > &  buf,
basic_string_view< Char >  fmt,
typename vformat_args< Char >::type  args,
locale_ref  loc = {} 
)

Definition at line 4354 of file format.h.

◆ vformat_to() [3/3]

template<typename Char >
void detail::vformat_to ( buffer< Char > &  buf,
const text_style ts,
basic_string_view< Char >  format_str,
basic_format_args< buffer_context< type_identity_t< Char >>>  args 
)

Definition at line 444 of file color.h.

◆ vprint_directly()

void detail::vprint_directly ( std::ostream &  os,
string_view  format_str,
format_args  args 
)
inline

Definition at line 185 of file ostream.h.

◆ vprint_mojibake()

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

Definition at line 2726 of file core.h.

◆ vprintf()

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

Definition at line 419 of file printf.h.

◆ write() [1/19]

template<typename Char , typename OutputIt >
FMT_CONSTEXPR auto detail::write ( OutputIt  out,
basic_string_view< Char >  s,
const format_specs< Char > &  specs 
) -> OutputIt

Definition at line 2314 of file format.h.

◆ write() [2/19]

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

Definition at line 3683 of file format.h.

◆ write() [3/19]

template<typename Char , typename OutputIt >
FMT_CONSTEXPR auto detail::write ( OutputIt  out,
basic_string_view< type_identity_t< Char >>  s,
const format_specs< Char > &  specs,
locale_ref   
) -> OutputIt

Definition at line 2335 of file format.h.

◆ write() [4/19]

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

Definition at line 3720 of file format.h.

◆ write() [5/19]

template<typename Char , typename OutputIt >
FMT_CONSTEXPR auto detail::write ( OutputIt  out,
Char  value,
const format_specs< Char > &  specs,
locale_ref  loc = {} 
) -> OutputIt

Definition at line 1948 of file format.h.

◆ write() [6/19]

template<typename Char , typename OutputIt >
FMT_CONSTEXPR auto detail::write ( OutputIt  out,
const Char *  s,
const format_specs< Char > &  specs,
locale_ref   
) -> OutputIt

Definition at line 2342 of file format.h.

◆ write() [7/19]

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

Definition at line 3727 of file format.h.

◆ write() [8/19]

template<typename Char , typename OutputIt , FMT_ENABLE_IF(!std::is_same< Char, char >::value) >
auto detail::write ( OutputIt  out,
const std::tm &  time,
const std::locale &  loc,
char  format,
char  modifier = 0 
) -> OutputIt

Definition at line 419 of file chrono.h.

◆ write() [9/19]

template<typename Char , typename OutputIt , typename T , typename Context = basic_format_context<OutputIt, Char>>
FMT_CONSTEXPR auto detail::write ( OutputIt  out,
const T &  value 
) -> enable_if_t< std::is_class<T>::value && !is_string<T>::value && !is_floating_point<T>::value && !std::is_same<T, Char>::value && !std::is_same<T, remove_cvref_t<decltype(arg_mapper<Context>().map( value))>>::value, OutputIt>

Definition at line 3744 of file format.h.

◆ write() [10/19]

template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(is_string< T >::value) >
constexpr auto detail::write ( OutputIt  out,
const T &  value 
) -> OutputIt
constexpr

Definition at line 3692 of file format.h.

◆ write() [11/19]

template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(std::is_same< T, void >::value) >
auto detail::write ( OutputIt  out,
const T *  value,
const format_specs< Char > &  specs = {},
locale_ref  = {} 
) -> OutputIt

Definition at line 3736 of file format.h.

◆ write() [12/19]

template<typename Char , typename OutputIt >
auto detail::write ( OutputIt  out,
monostate  ,
format_specs< Char >  = {},
locale_ref  = {} 
) -> OutputIt

Definition at line 3676 of file format.h.

◆ write() [13/19]

template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(is_integral< T >::value && !std::is_same< T, bool >::value && !std::is_same< T, Char >::value) >
FMT_CONSTEXPR auto detail::write ( OutputIt  out,
value 
) -> OutputIt

Definition at line 2355 of file format.h.

◆ write() [14/19]

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

Definition at line 3647 of file format.h.

◆ write() [15/19]

template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(is_floating_point< T >::value && !is_fast_float< T >::value) >
auto detail::write ( OutputIt  out,
value 
) -> OutputIt
inline

Definition at line 3671 of file format.h.

◆ write() [16/19]

template<typename Char , typename OutputIt , typename T , bool check = std::is_enum<T>::value && !std::is_same<T, Char>::value && mapped_type_constant<T, basic_format_context<OutputIt, Char>>::value != type::custom_type, FMT_ENABLE_IF(check) >
FMT_CONSTEXPR auto detail::write ( OutputIt  out,
value 
) -> OutputIt

Definition at line 3704 of file format.h.

◆ write() [17/19]

template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(is_integral< T >::value && !std::is_same< T, bool >::value && std::is_same< OutputIt, buffer_appender< Char >>::value) >
FMT_CONSTEXPR FMT_INLINE auto detail::write ( OutputIt  out,
value,
const format_specs< Char > &  specs,
locale_ref  loc 
) -> OutputIt

Definition at line 2254 of file format.h.

◆ write() [18/19]

template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(std::is_same< T, bool >::value) >
FMT_CONSTEXPR auto detail::write ( OutputIt  out,
value,
const format_specs< Char > &  specs = {},
locale_ref  = {} 
) -> OutputIt

Definition at line 3710 of file format.h.

◆ write() [19/19]

template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(is_floating_point< T >::value) >
FMT_CONSTEXPR20 auto detail::write ( OutputIt  out,
value,
format_specs< Char >  specs,
locale_ref  loc = {} 
) -> OutputIt

Definition at line 3637 of file format.h.

◆ write_buffer()

template<typename Char >
void detail::write_buffer ( std::basic_ostream< Char > &  os,
buffer< Char > &  buf 
)

Definition at line 111 of file ostream.h.

◆ write_bytes()

template<align::type align = align::left, typename Char , typename OutputIt >
FMT_CONSTEXPR auto detail::write_bytes ( OutputIt  out,
string_view  bytes,
const format_specs< Char > &  specs 
) -> OutputIt

Definition at line 1755 of file format.h.

◆ write_char()

template<typename Char , typename OutputIt >
FMT_CONSTEXPR auto detail::write_char ( OutputIt  out,
Char  value,
const format_specs< Char > &  specs 
) -> OutputIt

Definition at line 1938 of file format.h.

◆ write_codecvt()

template<typename CodeUnit >
void detail::write_codecvt ( codecvt_result< CodeUnit > &  out,
string_view  in_buf,
const std::locale &  loc 
)

Definition at line 344 of file chrono.h.

◆ write_codepoint()

template<size_t width, typename Char , typename OutputIt >
auto detail::write_codepoint ( OutputIt  out,
char  prefix,
uint32_t  cp 
) -> OutputIt

Definition at line 1851 of file format.h.

◆ write_console() [1/2]

FMT_API auto detail::write_console ( int  ,
string_view   
) -> bool

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

◆ write_console() [2/2]

FMT_API auto detail::write_console ( std::FILE *  ,
string_view   
) -> bool

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

◆ write_digit2_separated()

void detail::write_digit2_separated ( char *  buf,
unsigned  a,
unsigned  b,
unsigned  c,
char  sep 
)
inline

Definition at line 585 of file chrono.h.

◆ write_encoded_tm_str()

template<typename OutputIt >
auto detail::write_encoded_tm_str ( OutputIt  out,
string_view  in,
const std::locale &  loc 
) -> OutputIt

Definition at line 363 of file chrono.h.

◆ write_escaped_char()

template<typename Char , typename OutputIt >
auto detail::write_escaped_char ( OutputIt  out,
Char  v 
) -> OutputIt

Definition at line 1922 of file format.h.

◆ write_escaped_cp()

template<typename OutputIt , typename Char >
auto detail::write_escaped_cp ( OutputIt  out,
const find_escape_result< Char > &  escape 
) -> OutputIt

Definition at line 1861 of file format.h.

◆ write_escaped_string()

template<typename Char , typename OutputIt >
auto detail::write_escaped_string ( OutputIt  out,
basic_string_view< Char >  str 
) -> OutputIt

Definition at line 1906 of file format.h.

◆ write_exponent()

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

Definition at line 1596 of file format.h.

◆ write_float() [1/2]

template<typename OutputIt , typename DecimalFP , typename Char >
FMT_CONSTEXPR20 auto detail::write_float ( OutputIt  out,
const DecimalFP &  f,
const format_specs< Char > &  specs,
float_specs  fspecs,
locale_ref  loc 
) -> OutputIt

Definition at line 2721 of file format.h.

◆ write_float() [2/2]

template<typename Char , typename OutputIt , typename T >
FMT_CONSTEXPR20 auto detail::write_float ( OutputIt  out,
value,
format_specs< Char >  specs,
locale_ref  loc 
) -> OutputIt

Definition at line 3587 of file format.h.

◆ write_floating_seconds()

template<typename Duration >
void detail::write_floating_seconds ( memory_buffer buf,
Duration  duration,
int  num_fractional_digits = -1 
)

Definition at line 1141 of file chrono.h.

◆ write_fractional_seconds()

template<typename Char , typename OutputIt , typename Duration >
void detail::write_fractional_seconds ( OutputIt &  out,
Duration  d,
int  precision = -1 
)

Definition at line 1093 of file chrono.h.

◆ write_int() [1/3]

template<typename OutputIt , typename Char , typename W >
FMT_CONSTEXPR FMT_INLINE auto detail::write_int ( OutputIt  out,
int  num_digits,
unsigned  prefix,
const format_specs< Char > &  specs,
write_digits 
) -> OutputIt

Definition at line 1986 of file format.h.

◆ write_int() [2/3]

template<typename OutputIt , typename UInt , typename Char >
auto detail::write_int ( OutputIt  out,
UInt  value,
unsigned  prefix,
const format_specs< Char > &  specs,
const digit_grouping< Char > &  grouping 
) -> OutputIt

Definition at line 2081 of file format.h.

◆ write_int() [3/3]

template<typename Char , typename OutputIt , typename T >
FMT_CONSTEXPR FMT_INLINE auto detail::write_int ( OutputIt  out,
write_int_arg< T >  arg,
const format_specs< Char > &  specs,
locale_ref   
) -> OutputIt

Definition at line 2189 of file format.h.

◆ write_int_noinline()

template<typename Char , typename OutputIt , typename T >
FMT_CONSTEXPR FMT_NOINLINE auto detail::write_int_noinline ( OutputIt  out,
write_int_arg< T >  arg,
const format_specs< Char > &  specs,
locale_ref  loc 
) -> OutputIt

Definition at line 2245 of file format.h.

◆ write_loc() [1/3]

FMT_API auto detail::write_loc ( appender  out,
loc_value  value,
const format_specs<> &  specs,
locale_ref  loc 
) -> bool

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

◆ write_loc() [2/3]

template<typename OutputIt , typename Char >
auto detail::write_loc ( OutputIt  ,
loc_value  ,
const format_specs< Char > &  ,
locale_ref   
) -> bool
inline

Definition at line 2141 of file format.h.

◆ write_loc() [3/3]

auto detail::write_loc ( std::back_insert_iterator< detail::buffer< wchar_t >>  out,
loc_value  value,
const format_specs< wchar_t > &  specs,
locale_ref  loc 
) -> bool
inline

Definition at line 25 of file xchar.h.

◆ write_nonfinite()

template<typename Char , typename OutputIt >
FMT_CONSTEXPR20 auto detail::write_nonfinite ( OutputIt  out,
bool  isnan,
format_specs< Char >  specs,
const float_specs fspecs 
) -> OutputIt

Definition at line 2478 of file format.h.

◆ write_ostream_unicode() [1/2]

auto detail::write_ostream_unicode ( std::ostream &  os,
fmt::string_view  data 
) -> bool
inline

Definition at line 73 of file ostream.h.

◆ write_ostream_unicode() [2/2]

auto detail::write_ostream_unicode ( std::wostream &  ,
fmt::basic_string_view< wchar_t >   
) -> bool
inline

Definition at line 103 of file ostream.h.

◆ write_padded() [1/2]

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

Definition at line 1749 of file format.h.

◆ write_padded() [2/2]

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

Definition at line 1730 of file format.h.

◆ write_padding() [1/2]

template<typename OutputIt >
auto detail::write_padding ( OutputIt  out,
pad_type  pad 
) -> OutputIt

Definition at line 666 of file chrono.h.

◆ write_padding() [2/2]

template<typename OutputIt >
auto detail::write_padding ( OutputIt  out,
pad_type  pad,
int  width 
) -> OutputIt

Definition at line 660 of file chrono.h.

◆ write_ptr()

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

Definition at line 1765 of file format.h.

◆ write_significand() [1/7]

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

Definition at line 2537 of file format.h.

◆ write_significand() [2/7]

template<typename Char , typename OutputIt >
constexpr auto detail::write_significand ( OutputIt  out,
const char *  significand,
int  significand_size 
) -> OutputIt
constexpr

Definition at line 2512 of file format.h.

◆ write_significand() [3/7]

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

Definition at line 2571 of file format.h.

◆ write_significand() [4/7]

template<typename Char , typename OutputIt , typename T , typename Grouping >
FMT_CONSTEXPR20 auto detail::write_significand ( OutputIt  out,
significand,
int  significand_size,
int  exponent,
const Grouping &  grouping 
) -> OutputIt

Definition at line 2522 of file format.h.

◆ write_significand() [5/7]

template<typename OutputIt , typename Char , typename T , typename Grouping >
FMT_CONSTEXPR20 auto detail::write_significand ( OutputIt  out,
significand,
int  significand_size,
int  integral_size,
Char  decimal_point,
const Grouping &  grouping 
) -> OutputIt

Definition at line 2583 of file format.h.

◆ write_significand() [6/7]

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

Definition at line 2517 of file format.h.

◆ write_significand() [7/7]

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

Definition at line 2560 of file format.h.

◆ write_tm_str()

template<typename Char , typename OutputIt , FMT_ENABLE_IF(!std::is_same< Char, char >::value) >
auto detail::write_tm_str ( OutputIt  out,
string_view  sv,
const std::locale &  loc 
) -> OutputIt

Definition at line 392 of file chrono.h.

Variable Documentation

◆ invalid_code_point

constexpr FMT_INLINE_VARIABLE uint32_t detail::invalid_code_point = ~uint32_t()
constexpr

Definition at line 662 of file format.h.



plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:51