Scippy

SoPlex

Sequential object-oriented simPlex

internal Namespace Reference

Namespaces

 cf
 
 digits
 

Classes

struct  accumulator
 
struct  ansi_color_escape
 
class  arg_converter
 
class  arg_formatter_base
 
class  arg_map
 
struct  arg_mapper
 
struct  arg_ref
 
struct  auto_id
 
struct  basic_compiled_format
 
struct  basic_data
 
class  basic_writer
 
class  bigint
 
struct  bits
 
struct  bool_pack
 
struct  boundaries
 
class  buffer
 
class  char_converter
 
class  char_specs_checker
 
struct  char_t_impl
 
struct  char_t_impl< S, enable_if_t< is_string< S >::value > >
 
struct  chrono_format_checker
 
struct  chrono_formatter
 
struct  color_type
 
class  compiled_format
 
struct  compiled_format_base
 
struct  compiled_format_base< S, enable_if_t< is_compile_string< S >::value > >
 
struct  conditional_helper
 
class  container_buffer
 
class  counting_iterator
 
class  cstring_type_checker
 
class  custom_formatter
 
struct  custom_value
 
struct  data
 
struct  dynamic_format_specs
 
class  dynamic_specs_handler
 
struct  error_handler
 
struct  fallback_formatter
 
struct  fallback_formatter< T, Char, enable_if_t< is_streamable< T, Char >::value > >
 
struct  fallback_uintptr
 
struct  fill_t
 
struct  fixed_handler
 
struct  float_specs
 
class  float_writer
 
struct  format_part
 
struct  format_part_array
 
class  format_string_checker
 
class  format_string_compiler
 
class  formatbuf
 
class  fp
 
struct  grisu_shortest_handler
 
struct  id_adapter
 
struct  int128_t
 
struct  int_checker
 
struct  int_checker< true >
 
class  int_type_checker
 
struct  integer_sequence
 
struct  is_contiguous_back_insert_iterator
 
struct  is_contiguous_back_insert_iterator< std::back_insert_iterator< Container > >
 
struct  is_integral
 
struct  is_integral< int128_t >
 
struct  is_integral< uint128_t >
 
class  is_like_std_string
 Return true value if T has std::string interface, like std::string_view. More...
 
struct  is_like_std_string< fmt::basic_string_view< Char > >
 
class  is_output_iterator
 
struct  is_range_
 
struct  is_range_< T, conditional_t< false, conditional_helper< decltype(std::declval< T >().begin()), decltype(std::declval< T >().end())>, void > >
 
class  is_streamable
 
struct  is_string
 
class  is_tuple_like_
 tuple_size and tuple_element check. More...
 
class  is_zero_int
 
struct  iterator_category
 
struct  iterator_category< It, void_t< typename It::iterator_category > >
 
struct  iterator_category< T * >
 
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_base
 
struct  nonfinite_writer
 
struct  null
 
class  numeric_specs_checker
 
class  output_range
 
struct  part_counter
 
struct  precision_adapter
 
class  precision_checker
 
class  printf_precision_handler
 
class  printf_width_handler
 
class  specs_checker
 
class  specs_handler
 
class  specs_setter
 
struct  std_string_view
 
struct  string_value
 
struct  test_stream
 
class  truncating_iterator
 
class  truncating_iterator< OutputIt, std::false_type >
 
class  truncating_iterator< OutputIt, std::true_type >
 
class  truncating_iterator_base
 
struct  type_constant
 
struct  uint128_t
 
class  value
 
struct  view
 
struct  void_t_impl
 
struct  width_adapter
 
class  width_checker
 

Typedefs

template<typename T , typename Context >
using has_fallback_formatter = std::is_constructible< fallback_formatter< T, typename Context::char_type > >
 
using long_type = conditional_t< long_short, int, long long >
 
using ulong_type = conditional_t< long_short, unsigned, unsigned long long >
 
template<typename T , typename Context >
using mapped_type_constant = type_constant< decltype(arg_mapper< Context >().map(std::declval< const T & >())), typename Context::char_type >
 
template<bool... Args>
using all_true = std::is_same< bool_pack< Args..., true >, bool_pack< true, Args... > >
 
using format_func = void(*)(internal::buffer< char > &, int, string_view)
 
using uintptr_t = fallback_uintptr
 
template<typename T >
using iterator_t = decltype(std::begin(std::declval< T & >()))
 
template<typename T >
using checked_ptr = T *
 
template<typename InputIt , typename OutChar >
using needs_conversion = bool_constant< std::is_same< typename std::iterator_traits< InputIt >::value_type, char >::value &&std::is_same< OutChar, char8_t >::value >
 
template<typename T >
using uint32_or_64_or_128_t = conditional_t< std::numeric_limits< T >::digits<=32, uint32_t, conditional_t< std::numeric_limits< T >::digits<=64, uint64_t, uint128_t > >
 
using writer = basic_writer< buffer_range< char > >
 
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<std::size_t... N>
using index_sequence = integer_sequence< std::size_t, N... >
 
template<std::size_t N>
using make_index_sequence = make_integer_sequence< std::size_t, N >
 

Enumerations

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

Functions

null localtime_r FMT_NOMACRO (...)
 
null localtime_s (...)
 
null gmtime_r (...)
 
null gmtime_s (...)
 
std::size_t strftime (char *str, std::size_t count, const char *format, const std::tm *time)
 
std::size_t strftime (wchar_t *str, std::size_t count, const wchar_t *format, const std::tm *time)
 
template<typename Period >
FMT_CONSTEXPR const char * get_units ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::atto > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::femto > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::pico > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::nano > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::micro > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::milli > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::centi > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::deci > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::ratio< 1 > > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::deca > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::hecto > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::kilo > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::mega > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::giga > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::tera > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::peta > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::exa > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::ratio< 60 > > ()
 
template<>
FMT_CONSTEXPR const char * get_units< std::ratio< 3600 > > ()
 
template<typename Char , typename Handler >
FMT_CONSTEXPR const Char * parse_chrono_format (const Char *begin, const Char *end, Handler &&handler)
 
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
bool isnan (T)
 
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
bool isfinite (T)
 
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
int to_nonnegative_int (T value, int upper)
 
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
mod (T x, int y)
 
template<typename To , typename FromRep , typename FromPeriod >
To fmt_safe_duration_cast (std::chrono::duration< FromRep, FromPeriod > from)
 
template<typename Rep , typename Period , FMT_ENABLE_IF(std::is_integral< Rep >::value) >
std::chrono::duration< Rep, std::milli > get_milliseconds (std::chrono::duration< Rep, Period > d)
 
template<typename Rep , typename OutputIt >
OutputIt format_chrono_duration_value (OutputIt out, Rep val, int precision)
 
template<typename Period , typename OutputIt >
static OutputIt format_chrono_duration_unit (OutputIt out)
 
template<typename Char >
FMT_CONSTEXPR ansi_color_escape< Char > make_foreground_color (internal::color_type foreground) FMT_NOEXCEPT
 
template<typename Char >
FMT_CONSTEXPR ansi_color_escape< Char > make_background_color (internal::color_type background) FMT_NOEXCEPT
 
template<typename Char >
FMT_CONSTEXPR ansi_color_escape< Char > make_emphasis (emphasis em) FMT_NOEXCEPT
 
template<typename Char >
void fputs (const Char *chars, FILE *stream) FMT_NOEXCEPT
 
template<>
void fputs< wchar_t > (const wchar_t *chars, FILE *stream) FMT_NOEXCEPT
 
template<typename Char >
void reset_color (FILE *stream) FMT_NOEXCEPT
 
template<>
void reset_color< wchar_t > (FILE *stream) FMT_NOEXCEPT
 
template<typename Char >
void reset_color (basic_memory_buffer< Char > &buffer) FMT_NOEXCEPT
 
template<typename Char >
void vformat_to (basic_memory_buffer< Char > &buf, const text_style &ts, basic_string_view< Char > format_str, basic_format_args< buffer_context< Char >> args)
 
template<typename Char >
FMT_CONSTEXPR unsigned count_parts (basic_string_view< Char > format_str)
 
template<bool IS_CONSTEXPR, typename Char , typename PartHandler >
FMT_CONSTEXPR void compile_format_string (basic_string_view< Char > format_str, PartHandler handler)
 
template<typename Range , typename Context , typename Id >
void format_arg (basic_format_parse_context< typename Range::value_type > &parse_ctx, Context &ctx, Id arg_id)
 
template<typename Char , unsigned N>
FMT_CONSTEXPR format_part_array< Char, N > compile_to_parts (basic_string_view< Char > format_str)
 
template<typename T >
constexpr const T & constexpr_max (const T &a, const T &b)
 
FMT_API void assert_fail (const char *file, int line, const char *message)
 
template<typename Int >
FMT_CONSTEXPR std::make_unsigned< Int >::type to_unsigned (Int value)
 
void to_string_view (...)
 
template<typename Container >
Container & get_container (std::back_insert_iterator< Container > it)
 
 FMT_TYPE_CONSTANT (const named_arg_base< Char > &, named_arg_type)
 
 FMT_TYPE_CONSTANT (int, int_type)
 
 FMT_TYPE_CONSTANT (unsigned, uint_type)
 
 FMT_TYPE_CONSTANT (long long, long_long_type)
 
 FMT_TYPE_CONSTANT (unsigned long long, ulong_long_type)
 
 FMT_TYPE_CONSTANT (int128_t, int128_type)
 
 FMT_TYPE_CONSTANT (uint128_t, uint128_type)
 
 FMT_TYPE_CONSTANT (bool, bool_type)
 
 FMT_TYPE_CONSTANT (Char, char_type)
 
 FMT_TYPE_CONSTANT (float, float_type)
 
 FMT_TYPE_CONSTANT (double, double_type)
 
 FMT_TYPE_CONSTANT (long double, long_double_type)
 
 FMT_TYPE_CONSTANT (const Char *, cstring_type)
 
 FMT_TYPE_CONSTANT (basic_string_view< Char >, string_type)
 
 FMT_TYPE_CONSTANT (const void *, pointer_type)
 
FMT_CONSTEXPR bool is_integral_type (type t)
 
FMT_CONSTEXPR bool is_arithmetic_type (type t)
 
template<typename Context , typename T >
FMT_CONSTEXPR basic_format_arg< Context > make_arg (const T &value)
 
template<typename >
constexpr unsigned long long encode_types ()
 
template<typename Context , typename Arg , typename... Args>
constexpr unsigned long long encode_types ()
 
template<bool IS_PACKED, typename Context , typename T , FMT_ENABLE_IF(IS_PACKED) >
value< Context > make_arg (const T &val)
 
template<bool IS_PACKED, typename Context , typename T , FMT_ENABLE_IF(!IS_PACKED) >
basic_format_arg< Context > make_arg (const T &value)
 
template<typename... , typename S , FMT_ENABLE_IF(!is_compile_string< S >::value) >
void check_format_string (const S &)
 
template<typename... , typename S , FMT_ENABLE_IF(is_compile_string< S >::value) >
void check_format_string (S)
 
template<typename... Args, typename S , typename Char = char_t<S>>
format_arg_store< buffer_context< Char >, remove_reference_t< Args >... > make_args_checked (const S &format_str, const remove_reference_t< Args > &... args)
 
template<typename Char >
std::basic_string< Char > vformat (basic_string_view< Char > format_str, basic_format_args< buffer_context< Char >> args)
 
template<typename Char >
buffer_context< Char >::iterator vformat_to (buffer< Char > &buf, basic_string_view< Char > format_str, basic_format_args< buffer_context< Char >> args)
 
FMT_FUNC int safe_strerror (int error_code, char *&buffer, std::size_t buffer_size) FMT_NOEXCEPT
 
FMT_FUNC void format_error_code (internal::buffer< char > &out, int error_code, string_view message) FMT_NOEXCEPT
 
FMT_FUNC void fwrite_fully (const void *ptr, size_t size, size_t count, FILE *stream)
 
FMT_FUNC void report_error (format_func func, int error_code, string_view message) FMT_NOEXCEPT
 
template<typename Char >
FMT_FUNC std::string grouping_impl (locale_ref loc)
 
template<typename Char >
FMT_FUNC Char thousands_sep_impl (locale_ref loc)
 
template<typename Char >
FMT_FUNC Char decimal_point_impl (locale_ref loc)
 
template<>
FMT_FUNC int count_digits< 4 > (internal::fallback_uintptr n)
 
template<int SHIFT = 0>
fp normalize (fp value)
 
bool operator== (fp x, fp y)
 
uint64_t multiply (uint64_t lhs, uint64_t rhs)
 
fp operator* (fp x, fp y)
 
FMT_FUNC fp get_cached_power (int min_exponent, int &pow10_exponent)
 
round_direction get_round_direction (uint64_t divisor, uint64_t remainder, uint64_t error)
 
template<typename Handler >
FMT_ALWAYS_INLINE digits::result grisu_gen_digits (fp value, uint64_t error, int &exp, Handler &handler)
 
template<typename Double >
void fallback_format (Double d, buffer< char > &buf, int &exp10)
 
template<typename T >
int format_float (T value, int precision, float_specs specs, buffer< char > &buf)
 
template<typename T >
int snprintf_float (T value, int precision, float_specs specs, buffer< char > &buf)
 
template<typename T >
const_check (T value)
 
template<typename Dest , typename Source >
Dest bit_cast (const Source &source)
 
bool is_big_endian ()
 
fallback_uintptr to_uintptr (const void *p)
 
template<typename T >
constexpr T max_value ()
 
template<typename T >
constexpr int num_bits ()
 
template<>
constexpr int num_bits< fallback_uintptr > ()
 
template<typename Char >
Char * get_data (std::basic_string< Char > &s)
 
template<typename Container >
Container::value_type * get_data (Container &c)
 
template<typename T >
T * make_checked (T *p, std::size_t)
 
template<typename Container , FMT_ENABLE_IF(is_contiguous< Container >::value) >
checked_ptr< typename Container::value_type > reserve (std::back_insert_iterator< Container > &it, std::size_t n)
 
template<typename Iterator >
Iterator & reserve (Iterator &it, std::size_t)
 
template<typename Char >
size_t count_code_points (basic_string_view< Char > s)
 
size_t count_code_points (basic_string_view< char8_t > s)
 
template<typename Char >
size_t code_point_index (basic_string_view< Char > s, size_t n)
 
size_t code_point_index (basic_string_view< char8_t > s, size_t n)
 
char8_t to_char8_t (char c)
 
template<typename OutChar , typename InputIt , typename OutputIt , FMT_ENABLE_IF(!needs_conversion< InputIt, OutChar >::value) >
OutputIt copy_str (InputIt begin, InputIt end, OutputIt it)
 
template<typename T >
constexpr bool use_grisu ()
 
template<typename T , FMT_ENABLE_IF(std::numeric_limits< T >::is_signed) >
FMT_CONSTEXPR bool is_negative (T value)
 
int count_digits (uint64_t n)
 
template<unsigned BITS, typename UInt >
int count_digits (UInt n)
 
template<>
int count_digits< 4 > (internal::fallback_uintptr n)
 
template<typename Char >
FMT_API std::string grouping_impl (locale_ref loc)
 
template<typename Char >
std::string grouping (locale_ref loc)
 
template<>
std::string grouping< wchar_t > (locale_ref loc)
 
template<typename Char >
FMT_API Char thousands_sep_impl (locale_ref loc)
 
template<typename Char >
Char thousands_sep (locale_ref loc)
 
template<>
wchar_t thousands_sep (locale_ref loc)
 
template<typename Char >
FMT_API Char decimal_point_impl (locale_ref loc)
 
template<typename Char >
Char decimal_point (locale_ref loc)
 
template<>
wchar_t decimal_point (locale_ref loc)
 
template<typename UInt , typename Char , typename F >
Char * format_decimal (Char *buffer, UInt value, int num_digits, F add_thousands_sep)
 
template<typename Int >
constexpr int digits10 () noexcept
 
template<>
constexpr int digits10< int128_t > () noexcept
 
template<>
constexpr int digits10< uint128_t > () noexcept
 
template<typename Char , typename UInt , typename Iterator , typename F >
Iterator format_decimal (Iterator out, UInt value, int num_digits, F add_thousands_sep)
 
template<typename Char , typename It , typename UInt >
It format_decimal (It out, UInt value, int num_digits)
 
template<unsigned BASE_BITS, typename Char , typename UInt >
Char * format_uint (Char *buffer, UInt value, int num_digits, bool upper=false)
 
template<unsigned BASE_BITS, typename Char >
Char * format_uint (Char *buffer, internal::fallback_uintptr n, int num_digits, bool=false)
 
template<unsigned BASE_BITS, typename Char , typename It , typename UInt >
It format_uint (It out, UInt value, int num_digits, bool upper=false)
 
template<typename Char , typename It >
It write_exponent (int exp, It it)
 
template<typename T >
promote_float (T value)
 
double promote_float (float value)
 
template<typename Handler >
FMT_CONSTEXPR void handle_int_type_spec (char spec, Handler &&handler)
 
template<typename ErrorHandler = error_handler, typename Char >
FMT_CONSTEXPR float_specs parse_float_type_spec (const basic_format_specs< Char > &specs, ErrorHandler &&eh={})
 
template<typename Char , typename Handler >
FMT_CONSTEXPR void handle_char_specs (const basic_format_specs< Char > *specs, Handler &&handler)
 
template<typename Char , typename Handler >
FMT_CONSTEXPR void handle_cstring_type_spec (Char spec, Handler &&handler)
 
template<typename Char , typename ErrorHandler >
FMT_CONSTEXPR void check_string_type_spec (Char spec, ErrorHandler &&eh)
 
template<typename Char , typename ErrorHandler >
FMT_CONSTEXPR void check_pointer_type_spec (Char spec, ErrorHandler &&eh)
 
template<typename Char >
FMT_CONSTEXPR bool is_name_start (Char c)
 
template<typename Char , typename ErrorHandler >
FMT_CONSTEXPR int parse_nonnegative_int (const Char *&begin, const Char *end, ErrorHandler &&eh)
 
template<template< typename > class Handler, typename FormatArg , typename ErrorHandler >
FMT_CONSTEXPR int get_dynamic_spec (FormatArg arg, ErrorHandler eh)
 
template<typename Context >
FMT_CONSTEXPR Context::format_arg get_arg (Context &ctx, int id)
 
template<typename Char , typename IDHandler >
FMT_CONSTEXPR const Char * parse_arg_id (const Char *begin, const Char *end, IDHandler &&handler)
 
template<typename Char , typename Handler >
FMT_CONSTEXPR const Char * parse_align (const Char *begin, const Char *end, Handler &&handler)
 
template<typename Char , typename Handler >
FMT_CONSTEXPR const Char * parse_width (const Char *begin, const Char *end, Handler &&handler)
 
template<typename Char , typename Handler >
FMT_CONSTEXPR const Char * parse_precision (const Char *begin, const Char *end, Handler &&handler)
 
template<typename Char , typename SpecHandler >
FMT_CONSTEXPR const Char * parse_format_specs (const Char *begin, const Char *end, SpecHandler &&handler)
 
template<bool IS_CONSTEXPR, typename T , typename Ptr = const T*>
FMT_CONSTEXPR bool find (Ptr first, Ptr last, T value, Ptr &out)
 
template<>
bool find< false, char > (const char *first, const char *last, char value, const char *&out)
 
template<bool IS_CONSTEXPR, typename Char , typename Handler >
FMT_CONSTEXPR void parse_format_string (basic_string_view< Char > format_str, Handler &&handler)
 
template<typename T , typename ParseContext >
FMT_CONSTEXPR const ParseContext::char_type * parse_format_specs (ParseContext &ctx)
 
template<typename Char , typename ErrorHandler , typename... Args>
FMT_CONSTEXPR bool do_check_format_string (basic_string_view< Char > s, ErrorHandler eh=ErrorHandler())
 
template<template< typename > class Handler, typename Context >
void handle_dynamic_spec (int &value, arg_ref< typename Context::char_type > ref, Context &ctx)
 
template<typename Char >
buffer_context< Char >::iterator vformat_to (const std::locale &loc, buffer< Char > &buf, basic_string_view< Char > format_str, basic_format_args< buffer_context< Char >> args)
 
template<typename Char >
std::basic_string< Char > vformat (const std::locale &loc, basic_string_view< Char > format_str, basic_format_args< buffer_context< Char >> args)
 
template<typename Char >
void write (std::basic_ostream< Char > &os, buffer< Char > &buf)
 
template<typename Char , typename T >
void format_value (buffer< Char > &buf, const T &value, locale_ref loc=locale_ref())
 
template<typename T , typename Context , typename Char >
void convert_arg (basic_format_arg< Context > &arg, Char type)
 
template<typename Char , typename Context >
void printf (buffer< Char > &buf, basic_string_view< Char > format, basic_format_args< Context > args)
 
template<typename OutputIt , typename Char , typename Context >
internal::truncating_iterator< OutputIt > printf (internal::truncating_iterator< OutputIt > it, basic_string_view< Char > format, basic_format_args< Context > args)
 
template<typename RangeT , typename OutputIterator >
OutputIterator copy (const RangeT &range, OutputIterator out)
 
template<typename OutputIterator >
OutputIterator copy (const char *str, OutputIterator out)
 
template<typename OutputIterator >
OutputIterator copy (char ch, OutputIterator out)
 
template<class Tuple , class F , size_t... Is>
void for_each (index_sequence< Is... >, Tuple &&tup, F &&f) FMT_NOEXCEPT
 
template<class T >
FMT_CONSTEXPR make_index_sequence< std::tuple_size< T >::valueget_indexes (T const &)
 
template<class Tuple , class F >
void for_each (Tuple &&tup, F &&f)
 
template<typename Arg , FMT_ENABLE_IF(!is_like_std_string< typename std::decay< Arg >::type >::value) >
FMT_CONSTEXPR const char * format_str_quoted (bool add_space, const Arg &)
 
FMT_CONSTEXPR const char * format_str_quoted (bool add_space, const char *)
 
FMT_CONSTEXPR const wchar_t * format_str_quoted (bool add_space, const wchar_t *)
 
FMT_CONSTEXPR const char * format_str_quoted (bool add_space, const char)
 
FMT_CONSTEXPR const wchar_t * format_str_quoted (bool add_space, const wchar_t)
 

Variables

FMT_EXTERN template struct basic_data< void >
 

Typedef Documentation

◆ all_true

using all_true = std::is_same<bool_pack<Args..., true>, bool_pack<true, Args...> >

Definition at line 1383 of file core.h.

◆ checked_ptr

using checked_ptr = T*

Definition at line 318 of file format.h.

◆ format_func

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

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

◆ has_fallback_formatter

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

Definition at line 682 of file core.h.

◆ index_sequence

using index_sequence = integer_sequence<std::size_t, N...>

Definition at line 133 of file ranges.h.

◆ is_integer

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>

Definition at line 1974 of file format.h.

◆ iterator_t

using iterator_t = decltype(std::begin(std::declval<T&>()))

Definition at line 267 of file format.h.

◆ long_type

using long_type = conditional_t<long_short, int, long long>

Definition at line 828 of file core.h.

◆ make_index_sequence

using make_index_sequence = make_integer_sequence<std::size_t, N>

Definition at line 141 of file ranges.h.

◆ mapped_type_constant

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

Definition at line 939 of file core.h.

◆ needs_conversion

using needs_conversion = bool_constant< std::is_same<typename std::iterator_traits<InputIt>::value_type, char>::value && std::is_same<OutChar, char8_t>::value>

Definition at line 502 of file format.h.

◆ uint32_or_64_or_128_t

using uint32_or_64_or_128_t = conditional_t< std::numeric_limits<T>::digits <= 32, uint32_t, conditional_t<std::numeric_limits<T>::digits <= 64, uint64_t, uint128_t> >

Definition at line 721 of file format.h.

◆ uintptr_t

Definition at line 246 of file format.h.

◆ ulong_type

using ulong_type = conditional_t<long_short, unsigned, unsigned long long>

Definition at line 829 of file core.h.

◆ writer

using writer = basic_writer<buffer_range<char> >

Definition at line 1772 of file format.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
long_short 

Definition at line 827 of file core.h.

◆ anonymous enum

anonymous enum
Enumerator
packed_arg_bits 

Definition at line 941 of file core.h.

◆ anonymous enum

anonymous enum
Enumerator
max_packed_args 

Definition at line 943 of file core.h.

◆ anonymous enum

anonymous enum : unsigned long long
Enumerator
is_unpacked_bit 

Definition at line 944 of file core.h.

◆ arg_id_kind

enum arg_id_kind
strong
Enumerator
none 
index 
name 

Definition at line 2188 of file format.h.

◆ float_format

enum float_format : unsigned char
strong
Enumerator
general 
exp 
fixed 
hex 

Definition at line 1039 of file format.h.

◆ numeric_system

enum numeric_system
strong
Enumerator
standard 
alternative 

Definition at line 470 of file chrono.h.

◆ round_direction

Enumerator
unknown 
up 
down 

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

◆ type

enum type
Enumerator
none_type 
named_arg_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 687 of file core.h.

Function Documentation

◆ assert_fail()

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

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

References print().

◆ bit_cast()

Dest internal::bit_cast ( const Source &  source)

Definition at line 214 of file format.h.

Referenced by fp::assign(), fallback_uintptr::fallback_uintptr(), and is_big_endian().

◆ check_format_string() [1/2]

void internal::check_format_string ( const S &  )

Definition at line 1369 of file core.h.

References check_format_string(), and FMT_ENABLE_IF.

Referenced by format_to(), format_to_n(), and print().

◆ check_format_string() [2/2]

void check_format_string ( format_str)

Definition at line 2626 of file format.h.

References char_type, do_check_format_string(), FMT_CONSTEXPR_DECL, and to_string_view().

Referenced by check_format_string().

◆ check_pointer_type_spec()

FMT_CONSTEXPR void internal::check_pointer_type_spec ( Char  spec,
ErrorHandler &&  eh 
)

◆ check_string_type_spec()

FMT_CONSTEXPR void internal::check_string_type_spec ( Char  spec,
ErrorHandler &&  eh 
)

◆ code_point_index() [1/2]

size_t internal::code_point_index ( basic_string_view< Char >  s,
size_t  n 
)

Definition at line 479 of file format.h.

References basic_string_view< Char >::size().

Referenced by basic_writer< Range >::write().

◆ code_point_index() [2/2]

size_t internal::code_point_index ( basic_string_view< char8_t s,
size_t  n 
)

◆ compile_format_string()

FMT_CONSTEXPR void internal::compile_format_string ( basic_string_view< Char >  format_str,
PartHandler  handler 
)

Definition at line 155 of file compile.h.

Referenced by compiled_format< S, Args >::compiled_format().

◆ compile_to_parts()

FMT_CONSTEXPR format_part_array<Char, N> internal::compile_to_parts ( basic_string_view< Char >  format_str)

◆ const_check()

T internal::const_check ( value)

◆ constexpr_max()

constexpr const T& internal::constexpr_max ( const T &  a,
const T &  b 
)

◆ convert_arg()

void internal::convert_arg ( basic_format_arg< Context > &  arg,
Char  type 
)

Definition at line 122 of file printf.h.

References visit_format_arg().

Referenced by basic_printf_context< OutputIt, Char >::format().

◆ copy() [1/3]

◆ copy() [2/3]

OutputIterator internal::copy ( const char *  str,
OutputIterator  out 
)

Definition at line 65 of file ranges.h.

◆ copy() [3/3]

OutputIterator internal::copy ( char  ch,
OutputIterator  out 
)

◆ copy_str()

OutputIt copy_str ( InputIt  begin,
InputIt  end,
OutputIt  it 
)

Definition at line 506 of file format.h.

References copy(), FMT_ENABLE_IF, and to_char8_t().

◆ count_code_points() [1/2]

size_t internal::count_code_points ( basic_string_view< Char >  s)

◆ count_code_points() [2/2]

size_t internal::count_code_points ( basic_string_view< char8_t s)

◆ count_digits() [1/2]

◆ count_digits() [2/2]

int internal::count_digits ( UInt  n)

Definition at line 789 of file format.h.

References count_digits< 4 >().

◆ count_digits< 4 >() [1/2]

◆ count_digits< 4 >() [2/2]

◆ count_parts()

FMT_CONSTEXPR unsigned internal::count_parts ( basic_string_view< Char >  format_str)

◆ decimal_point() [1/2]

Char internal::decimal_point ( locale_ref  loc)

Definition at line 830 of file format.h.

◆ decimal_point() [2/2]

wchar_t internal::decimal_point ( locale_ref  loc)

Definition at line 833 of file format.h.

◆ decimal_point_impl() [1/2]

◆ decimal_point_impl() [2/2]

◆ digits10()

constexpr int internal::digits10 ( )
noexcept

Definition at line 868 of file format.h.

◆ digits10< int128_t >()

constexpr int internal::digits10< int128_t > ( )
noexcept

Definition at line 871 of file format.h.

◆ digits10< uint128_t >()

constexpr int internal::digits10< uint128_t > ( )
noexcept

Definition at line 872 of file format.h.

◆ do_check_format_string()

FMT_CONSTEXPR bool internal::do_check_format_string ( basic_string_view< Char >  s,
ErrorHandler  eh = ErrorHandler() 
)

Definition at line 2617 of file format.h.

Referenced by check_format_string().

◆ encode_types() [1/2]

constexpr unsigned long long internal::encode_types ( )

Definition at line 1105 of file core.h.

◆ encode_types() [2/2]

constexpr unsigned long long internal::encode_types ( )

Definition at line 1108 of file core.h.

References packed_arg_bits.

◆ fallback_format()

void internal::fallback_format ( Double  d,
buffer< char > &  buf,
int &  exp10 
)

◆ find()

◆ find< false, char >()

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

Definition at line 2479 of file format.h.

References to_unsigned().

◆ FMT_NOMACRO()

null localtime_r internal::FMT_NOMACRO (   ...)

Definition at line 310 of file chrono.h.

◆ fmt_safe_duration_cast()

To internal::fmt_safe_duration_cast ( std::chrono::duration< FromRep, FromPeriod >  from)

◆ FMT_TYPE_CONSTANT() [1/15]

internal::FMT_TYPE_CONSTANT ( const named_arg_base< Char > &  ,
named_arg_type   
)

◆ FMT_TYPE_CONSTANT() [2/15]

internal::FMT_TYPE_CONSTANT ( int  ,
int_type   
)

◆ FMT_TYPE_CONSTANT() [3/15]

internal::FMT_TYPE_CONSTANT ( unsigned  ,
uint_type   
)

◆ FMT_TYPE_CONSTANT() [4/15]

internal::FMT_TYPE_CONSTANT ( long  long,
long_long_type   
)

◆ FMT_TYPE_CONSTANT() [5/15]

internal::FMT_TYPE_CONSTANT ( unsigned long  long,
ulong_long_type   
)

◆ FMT_TYPE_CONSTANT() [6/15]

internal::FMT_TYPE_CONSTANT ( int128_t  ,
int128_type   
)

◆ FMT_TYPE_CONSTANT() [7/15]

internal::FMT_TYPE_CONSTANT ( uint128_t  ,
uint128_type   
)

◆ FMT_TYPE_CONSTANT() [8/15]

internal::FMT_TYPE_CONSTANT ( bool  ,
bool_type   
)

◆ FMT_TYPE_CONSTANT() [9/15]

internal::FMT_TYPE_CONSTANT ( Char  ,
char_type   
)

◆ FMT_TYPE_CONSTANT() [10/15]

internal::FMT_TYPE_CONSTANT ( float  ,
float_type   
)

◆ FMT_TYPE_CONSTANT() [11/15]

internal::FMT_TYPE_CONSTANT ( double  ,
double_type   
)

◆ FMT_TYPE_CONSTANT() [12/15]

internal::FMT_TYPE_CONSTANT ( long  double,
long_double_type   
)

◆ FMT_TYPE_CONSTANT() [13/15]

internal::FMT_TYPE_CONSTANT ( const Char *  ,
cstring_type   
)

◆ FMT_TYPE_CONSTANT() [14/15]

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

◆ FMT_TYPE_CONSTANT() [15/15]

internal::FMT_TYPE_CONSTANT ( const void *  ,
pointer_type   
)

◆ for_each() [1/2]

void internal::for_each ( index_sequence< Is... >  ,
Tuple &&  tup,
F &&  f 
)

◆ for_each() [2/2]

void internal::for_each ( Tuple &&  tup,
F &&  f 
)

Definition at line 158 of file ranges.h.

References FMT_ENABLE_IF, and get_indexes().

◆ format_arg()

void internal::format_arg ( basic_format_parse_context< typename Range::value_type > &  parse_ctx,
Context &  ctx,
Id  arg_id 
)

Definition at line 163 of file compile.h.

References visit_format_arg().

◆ format_chrono_duration_unit()

static OutputIt internal::format_chrono_duration_unit ( OutputIt  out)
static

Definition at line 770 of file chrono.h.

References format_to().

◆ format_chrono_duration_value()

OutputIt internal::format_chrono_duration_value ( OutputIt  out,
Rep  val,
int  precision 
)

◆ format_decimal() [1/3]

Char* internal::format_decimal ( Char *  buffer,
UInt  value,
int  num_digits,
add_thousands_sep 
)

Definition at line 841 of file format.h.

References basic_data<>::digits, FMT_ASSERT, and index.

Referenced by format_decimal(), and format_int::format_signed().

◆ format_decimal() [2/3]

Iterator internal::format_decimal ( Iterator  out,
UInt  value,
int  num_digits,
add_thousands_sep 
)

Definition at line 875 of file format.h.

References FMT_ASSERT, and format_decimal().

◆ format_decimal() [3/3]

It internal::format_decimal ( It  out,
UInt  value,
int  num_digits 
)

Definition at line 886 of file format.h.

◆ format_error_code()

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

◆ format_float()

◆ format_str_quoted() [1/5]

◆ format_str_quoted() [2/5]

FMT_CONSTEXPR const char* internal::format_str_quoted ( bool  add_space,
const char *   
)

Definition at line 175 of file ranges.h.

◆ format_str_quoted() [3/5]

FMT_CONSTEXPR const wchar_t* internal::format_str_quoted ( bool  add_space,
const wchar_t *   
)

Definition at line 178 of file ranges.h.

◆ format_str_quoted() [4/5]

FMT_CONSTEXPR const char* internal::format_str_quoted ( bool  add_space,
const char   
)

Definition at line 182 of file ranges.h.

◆ format_str_quoted() [5/5]

FMT_CONSTEXPR const wchar_t* internal::format_str_quoted ( bool  add_space,
const wchar_t   
)

Definition at line 185 of file ranges.h.

Referenced by format_str_quoted().

◆ format_uint() [1/3]

Char* internal::format_uint ( Char *  buffer,
UInt  value,
int  num_digits,
bool  upper = false 
)

Definition at line 891 of file format.h.

References basic_data<>::hex_digits.

◆ format_uint() [2/3]

Char* internal::format_uint ( Char *  buffer,
internal::fallback_uintptr  n,
int  num_digits,
bool  = false 
)

Definition at line 905 of file format.h.

References basic_data<>::hex_digits, and fallback_uintptr::value.

◆ format_uint() [3/3]

It internal::format_uint ( It  out,
UInt  value,
int  num_digits,
bool  upper = false 
)

Definition at line 927 of file format.h.

◆ format_value()

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

◆ fputs()

void internal::fputs ( const Char *  chars,
FILE *  stream 
)

Definition at line 448 of file color.h.

Referenced by reset_color(), reset_color< wchar_t >(), and vprint().

◆ fputs< wchar_t >()

void internal::fputs< wchar_t > ( const wchar_t *  chars,
FILE *  stream 
)

Definition at line 453 of file color.h.

◆ fwrite_fully()

FMT_FUNC void internal::fwrite_fully ( const void *  ptr,
size_t  size,
size_t  count,
FILE *  stream 
)

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

References FMT_THROW.

Referenced by vprint().

◆ get_arg()

◆ get_cached_power()

FMT_FUNC fp internal::get_cached_power ( int  min_exponent,
int &  pow10_exponent 
)

◆ get_container()

Container& internal::get_container ( std::back_insert_iterator< Container >  it)

Definition at line 665 of file core.h.

Referenced by printf_formatter< T >::format(), reserve(), and vformat_to().

◆ get_data() [1/2]

Char* internal::get_data ( std::basic_string< Char > &  s)

Definition at line 303 of file format.h.

Referenced by reserve().

◆ get_data() [2/2]

Container::value_type* internal::get_data ( Container &  c)

Definition at line 307 of file format.h.

References make_checked().

◆ get_dynamic_spec()

FMT_CONSTEXPR int internal::get_dynamic_spec ( FormatArg  arg,
ErrorHandler  eh 
)

Definition at line 2127 of file format.h.

References to_unsigned(), and visit_format_arg().

◆ get_indexes()

FMT_CONSTEXPR make_index_sequence<std::tuple_size<T>::value> internal::get_indexes ( T const &  )

Definition at line 153 of file ranges.h.

Referenced by for_each().

◆ get_milliseconds()

std::chrono::duration< Rep, std::milli > get_milliseconds ( std::chrono::duration< Rep, Period >  d)

◆ get_round_direction()

round_direction internal::get_round_direction ( uint64_t  divisor,
uint64_t  remainder,
uint64_t  error 
)

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

References down, FMT_ASSERT, unknown, and up.

Referenced by fixed_handler::on_digit(), and fixed_handler::on_start().

◆ get_units()

FMT_CONSTEXPR const char* internal::get_units ( )

Definition at line 443 of file chrono.h.

◆ get_units< std::atto >()

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

Definition at line 446 of file chrono.h.

◆ get_units< std::centi >()

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

Definition at line 452 of file chrono.h.

◆ get_units< std::deca >()

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

Definition at line 455 of file chrono.h.

◆ get_units< std::deci >()

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

Definition at line 453 of file chrono.h.

◆ get_units< std::exa >()

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

Definition at line 462 of file chrono.h.

◆ get_units< std::femto >()

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

Definition at line 447 of file chrono.h.

◆ get_units< std::giga >()

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

Definition at line 459 of file chrono.h.

◆ get_units< std::hecto >()

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

Definition at line 456 of file chrono.h.

◆ get_units< std::kilo >()

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

Definition at line 457 of file chrono.h.

◆ get_units< std::mega >()

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

Definition at line 458 of file chrono.h.

◆ get_units< std::micro >()

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

Definition at line 450 of file chrono.h.

◆ get_units< std::milli >()

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

Definition at line 451 of file chrono.h.

◆ get_units< std::nano >()

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

Definition at line 449 of file chrono.h.

◆ get_units< std::peta >()

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

Definition at line 461 of file chrono.h.

◆ get_units< std::pico >()

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

Definition at line 448 of file chrono.h.

◆ get_units< std::ratio< 1 > >()

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

Definition at line 454 of file chrono.h.

◆ get_units< std::ratio< 3600 > >()

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

Definition at line 466 of file chrono.h.

◆ get_units< std::ratio< 60 > >()

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

Definition at line 463 of file chrono.h.

◆ get_units< std::tera >()

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

Definition at line 460 of file chrono.h.

◆ gmtime_r()

null internal::gmtime_r (   ...)

Definition at line 312 of file chrono.h.

Referenced by gmtime().

◆ gmtime_s()

null internal::gmtime_s (   ...)

Definition at line 313 of file chrono.h.

Referenced by gmtime().

◆ grisu_gen_digits()

FMT_ALWAYS_INLINE digits::result internal::grisu_gen_digits ( fp  value,
uint64_t  error,
int &  exp,
Handler &  handler 
)

◆ grouping()

std::string internal::grouping ( locale_ref  loc)

Definition at line 814 of file format.h.

◆ grouping< wchar_t >()

std::string internal::grouping< wchar_t > ( locale_ref  loc)

Definition at line 817 of file format.h.

References FMT_API, and thousands_sep_impl().

◆ grouping_impl() [1/2]

FMT_FUNC std::string internal::grouping_impl ( locale_ref  loc)

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

References locale_ref::get().

Referenced by decimal_point_impl().

◆ grouping_impl() [2/2]

FMT_API std::string internal::grouping_impl ( locale_ref  loc)

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

References locale_ref::get().

Referenced by decimal_point_impl().

◆ handle_char_specs()

◆ handle_cstring_type_spec()

FMT_CONSTEXPR void internal::handle_cstring_type_spec ( Char  spec,
Handler &&  handler 
)

◆ handle_dynamic_spec()

void internal::handle_dynamic_spec ( int &  value,
arg_ref< typename Context::char_type >  ref,
Context &  ctx 
)

◆ handle_int_type_spec()

◆ is_arithmetic_type()

◆ is_big_endian()

bool internal::is_big_endian ( )

Definition at line 221 of file format.h.

References bit_cast().

Referenced by fallback_uintptr::fallback_uintptr().

◆ is_integral_type()

◆ is_name_start()

FMT_CONSTEXPR bool internal::is_name_start ( Char  c)

Definition at line 1919 of file format.h.

Referenced by parse_arg_id().

◆ is_negative()

◆ isfinite()

◆ isnan()

◆ localtime_s()

null internal::localtime_s (   ...)

Definition at line 311 of file chrono.h.

Referenced by localtime().

◆ make_arg() [1/3]

FMT_CONSTEXPR basic_format_arg< Context > make_arg ( const T &  value)

◆ make_arg() [2/3]

value<Context> internal::make_arg ( const T &  val)

Definition at line 1123 of file core.h.

References FMT_ENABLE_IF.

◆ make_arg() [3/3]

basic_format_arg<Context> internal::make_arg ( const T &  value)

Definition at line 1129 of file core.h.

Referenced by value< basic_format_context >::format_custom_arg().

◆ make_args_checked()

format_arg_store<buffer_context<Char>, remove_reference_t<Args>...> internal::make_args_checked ( const S &  format_str,
const remove_reference_t< Args > &...  args 
)

Definition at line 1387 of file core.h.

References vformat(), and vformat_to().

Referenced by format(), format_to(), and print().

◆ make_background_color()

FMT_CONSTEXPR ansi_color_escape<Char> internal::make_background_color ( internal::color_type  background)

Definition at line 437 of file color.h.

References basic_data<>::background_color.

◆ make_checked()

◆ make_emphasis()

FMT_CONSTEXPR ansi_color_escape<Char> internal::make_emphasis ( emphasis  em)

Definition at line 443 of file color.h.

◆ make_foreground_color()

FMT_CONSTEXPR ansi_color_escape<Char> internal::make_foreground_color ( internal::color_type  foreground)

Definition at line 431 of file color.h.

References basic_data<>::foreground_color.

◆ max_value()

constexpr T internal::max_value ( )

Definition at line 254 of file format.h.

◆ mod()

◆ multiply()

uint64_t internal::multiply ( uint64_t  lhs,
uint64_t  rhs 
)

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

Referenced by format_float(), operator*(), and bigint::operator*=().

◆ normalize()

fp internal::normalize ( fp  value)

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

References fp::double_significand_size, fp::e, fp::f, fp::implicit_bit, and fp::significand_size.

Referenced by format_float().

◆ num_bits()

constexpr int internal::num_bits ( )

Definition at line 257 of file format.h.

◆ num_bits< fallback_uintptr >()

constexpr int internal::num_bits< fallback_uintptr > ( )

Definition at line 260 of file format.h.

◆ operator*()

fp internal::operator* ( fp  x,
fp  y 
)

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

References fp::e, fp::f, and multiply().

◆ operator==()

bool internal::operator== ( fp  x,
fp  y 
)

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

References fp::e, and fp::f.

Referenced by soplex::ratFromString().

◆ parse_align()

FMT_CONSTEXPR const Char* internal::parse_align ( const Char *  begin,
const Char *  end,
Handler &&  handler 
)

◆ parse_arg_id()

FMT_CONSTEXPR const Char* internal::parse_arg_id ( const Char *  begin,
const Char *  end,
IDHandler &&  handler 
)

◆ parse_chrono_format()

FMT_CONSTEXPR const Char* internal::parse_chrono_format ( const Char *  begin,
const Char *  end,
Handler &&  handler 
)

◆ parse_float_type_spec()

◆ parse_format_specs() [1/2]

◆ parse_format_specs() [2/2]

FMT_CONSTEXPR const ParseContext::char_type* internal::parse_format_specs ( ParseContext &  ctx)

Definition at line 2551 of file format.h.

References char_type, and custom_type.

◆ parse_format_string()

FMT_CONSTEXPR void internal::parse_format_string ( basic_string_view< Char >  format_str,
Handler &&  handler 
)

◆ parse_nonnegative_int()

FMT_CONSTEXPR int internal::parse_nonnegative_int ( const Char *&  begin,
const Char *  end,
ErrorHandler &&  eh 
)

◆ parse_precision()

FMT_CONSTEXPR const Char* internal::parse_precision ( const Char *  begin,
const Char *  end,
Handler &&  handler 
)

◆ parse_width()

FMT_CONSTEXPR const Char* internal::parse_width ( const Char *  begin,
const Char *  end,
Handler &&  handler 
)

◆ printf() [1/2]

void internal::printf ( buffer< Char > &  buf,
basic_string_view< Char >  format,
basic_format_args< Context >  args 
)

Definition at line 175 of file printf.h.

Referenced by printf(), vfprintf(), and vsprintf().

◆ printf() [2/2]

internal::truncating_iterator<OutputIt> internal::printf ( internal::truncating_iterator< OutputIt >  it,
basic_string_view< Char >  format,
basic_format_args< Context >  args 
)

Definition at line 181 of file printf.h.

References printf().

◆ promote_float() [1/2]

T internal::promote_float ( value)

Definition at line 1193 of file format.h.

Referenced by basic_writer< Range >::write().

◆ promote_float() [2/2]

double internal::promote_float ( float  value)

Definition at line 1194 of file format.h.

◆ report_error()

FMT_FUNC void internal::report_error ( format_func  func,
int  error_code,
string_view  message 
)

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

References buffer< T >::data(), and buffer< T >::size().

Referenced by report_system_error().

◆ reserve() [1/2]

◆ reserve() [2/2]

Iterator& internal::reserve ( Iterator &  it,
std::size_t   
)

Definition at line 332 of file format.h.

◆ reset_color() [1/2]

void internal::reset_color ( FILE *  stream)

Definition at line 457 of file color.h.

References fputs(), and basic_data<>::reset_color.

◆ reset_color() [2/2]

void internal::reset_color ( basic_memory_buffer< Char > &  buffer)

Definition at line 466 of file color.h.

References buffer< T >::append().

◆ reset_color< wchar_t >()

void internal::reset_color< wchar_t > ( FILE *  stream)

Definition at line 461 of file color.h.

References fputs(), and basic_data<>::wreset_color.

◆ safe_strerror()

FMT_FUNC int internal::safe_strerror ( int  error_code,
char *&  buffer,
std::size_t  buffer_size 
)

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

References FMT_ASSERT, strerror_r(), and strerror_s().

Referenced by format_system_error().

◆ snprintf_float()

◆ strftime() [1/2]

std::size_t internal::strftime ( char *  str,
std::size_t  count,
const char *  format,
const std::tm *  time 
)

Definition at line 390 of file chrono.h.

References strftime().

Referenced by formatter< std::tm, Char >::format().

◆ strftime() [2/2]

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

Definition at line 395 of file chrono.h.

Referenced by strftime().

◆ thousands_sep() [1/2]

Char internal::thousands_sep ( locale_ref  loc)

Definition at line 822 of file format.h.

◆ thousands_sep() [2/2]

wchar_t internal::thousands_sep ( locale_ref  loc)

Definition at line 825 of file format.h.

References decimal_point_impl(), and FMT_API.

◆ thousands_sep_impl() [1/2]

FMT_FUNC Char internal::thousands_sep_impl ( locale_ref  loc)

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

References locale_ref::get().

Referenced by decimal_point_impl(), and grouping< wchar_t >().

◆ thousands_sep_impl() [2/2]

FMT_API Char internal::thousands_sep_impl ( locale_ref  loc)

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

References locale_ref::get().

Referenced by decimal_point_impl(), and grouping< wchar_t >().

◆ to_char8_t()

char8_t internal::to_char8_t ( char  c)

Definition at line 496 of file format.h.

Referenced by copy_str().

◆ to_nonnegative_int()

◆ to_string_view()

◆ to_uintptr()

fallback_uintptr internal::to_uintptr ( const void *  p)

◆ to_unsigned()

◆ use_grisu()

constexpr bool internal::use_grisu ( )

Definition at line 520 of file format.h.

References FMT_USE_GRISU.

◆ vformat() [1/2]

std::basic_string<Char> internal::vformat ( const std::locale &  loc,
basic_string_view< Char >  format_str,
basic_format_args< buffer_context< Char >>  args 
)

Definition at line 28 of file locale.h.

References to_string(), and vformat_to().

◆ vformat() [2/2]

std::basic_string< Char > vformat ( basic_string_view< Char >  format_str,
basic_format_args< buffer_context< Char >>  args 
)

Definition at line 3379 of file format.h.

References to_string(), and vformat_to().

Referenced by formatter< internal::bigint >::format(), format(), system_error::init(), and vformat().

◆ vformat_to() [1/3]

buffer_context<Char>::iterator internal::vformat_to ( const std::locale &  loc,
buffer< Char > &  buf,
basic_string_view< Char >  format_str,
basic_format_args< buffer_context< Char >>  args 
)

Definition at line 18 of file locale.h.

References to_string_view().

◆ vformat_to() [2/3]

◆ vformat_to() [3/3]

buffer_context< Char >::iterator vformat_to ( internal::buffer< Char > &  buf,
basic_string_view< Char >  format_str,
basic_format_args< buffer_context< Char >>  args 
)

Definition at line 3262 of file format.h.

References to_string_view().

◆ write()

◆ write_exponent()

It internal::write_exponent ( int  exp,
It  it 
)

Definition at line 1059 of file format.h.

References basic_data<>::digits, exp, and FMT_ASSERT.

Variable Documentation

◆ basic_data< void >

FMT_EXTERN template struct basic_data< void >

Definition at line 739 of file format.h.