|
FMT_CONSTEXPR void | detail::abort_fuzzing_if (bool condition) |
|
template<typename To , typename From , FMT_ENABLE_IF(sizeof(To)==sizeof(From)) > |
FMT_CONSTEXPR20 auto | detail::bit_cast (const From &from) -> To |
|
auto | detail::is_big_endian () -> bool |
|
template<typename T > |
constexpr auto | detail::max_value () -> T |
|
template<typename T > |
constexpr auto | detail::num_bits () -> int |
|
template<> |
constexpr auto | detail::num_bits< int128_opt > () -> int |
|
template<> |
constexpr auto | detail::num_bits< uint128_t > () -> int |
|
template<typename To , typename From , FMT_ENABLE_IF(sizeof(To) > sizeof(From)) > |
auto | detail::bit_cast (const From &from) -> To |
|
FMT_INLINE void | detail::assume (bool condition) |
|
template<typename Char > |
auto | detail::get_data (std::basic_string< Char > &s) -> Char * |
|
template<typename Container > |
auto | detail::get_data (Container &c) -> typename Container::value_type * |
|
template<typename T > |
constexpr auto | detail::make_checked (T *p, size_t) -> T * |
|
template<typename Container , FMT_ENABLE_IF(is_contiguous< Container >::value) > |
auto | detail::reserve (std::back_insert_iterator< Container > it, size_t n) -> checked_ptr< typename Container::value_type > |
|
template<typename T > |
auto | detail::reserve (buffer_appender< T > it, size_t n) -> buffer_appender< T > |
|
template<typename Iterator > |
constexpr auto | detail::reserve (Iterator &it, size_t) -> Iterator & |
|
template<typename T , typename OutputIt > |
constexpr auto | detail::to_pointer (OutputIt, size_t) -> T * |
|
template<typename T > |
auto | detail::to_pointer (buffer_appender< T > it, size_t n) -> T * |
|
template<typename Container , FMT_ENABLE_IF(is_contiguous< Container >::value) > |
auto | detail::base_iterator (std::back_insert_iterator< Container > &it, checked_ptr< typename Container::value_type >) -> std::back_insert_iterator< Container > |
|
template<typename Iterator > |
constexpr auto | detail::base_iterator (Iterator, Iterator it) -> Iterator |
|
template<typename OutputIt , typename Size , typename T > |
FMT_CONSTEXPR auto | detail::fill_n (OutputIt out, Size count, const T &value) -> OutputIt |
|
template<typename T , typename Size > |
FMT_CONSTEXPR20 auto | detail::fill_n (T *out, Size count, char value) -> T * |
|
template<typename OutChar , typename InputIt , typename OutputIt > |
FMT_CONSTEXPR FMT_NOINLINE auto | detail::copy_str_noinline (InputIt begin, InputIt end, OutputIt out) -> OutputIt |
|
FMT_CONSTEXPR auto | detail::utf8_decode (const char *s, uint32_t *c, int *e) -> const char * |
|
template<typename F > |
FMT_CONSTEXPR void | detail::for_each_codepoint (string_view s, F f) |
|
template<typename Char > |
auto | detail::compute_width (basic_string_view< Char > s) -> size_t |
|
FMT_CONSTEXPR size_t | detail::compute_width (string_view s) |
|
auto | detail::compute_width (basic_string_view< char8_type > s) -> size_t |
|
template<typename Char > |
auto | detail::code_point_index (basic_string_view< Char > s, size_t n) -> size_t |
|
auto | detail::code_point_index (string_view s, size_t n) -> size_t |
|
auto | detail::code_point_index (basic_string_view< char8_type > s, size_t n) -> size_t |
|
FMT_FUNC void | detail::print (std::FILE *f, string_view text) |
|
template<typename Char , size_t N> |
constexpr auto | detail_exported::compile_string_to_view (const Char(&s)[N]) -> basic_string_view< Char > |
|
template<typename Char > |
constexpr auto | detail_exported::compile_string_to_view (detail::std_string_view< Char > s) -> basic_string_view< Char > |
|
template<typename T , FMT_ENABLE_IF(is_signed< T >::value) > |
constexpr auto | is_negative (T value) -> bool |
|
template<typename T > |
FMT_CONSTEXPR auto | is_supported_floating_point (T) -> bool |
|
constexpr const char * | digits2 (size_t value) |
|
template<typename Char , typename Sign > |
constexpr Char | sign (Sign s) |
|
template<typename T > |
FMT_CONSTEXPR auto | count_digits_fallback (T n) -> int |
|
FMT_CONSTEXPR20 auto | count_digits (uint64_t n) -> int |
|
template<int BITS, typename UInt > |
FMT_CONSTEXPR auto | count_digits (UInt n) -> int |
|
FMT_CONSTEXPR20 auto | count_digits (uint32_t n) -> int |
|
template<typename Int > |
constexpr auto | digits10 () noexcept -> int |
|
template<> |
constexpr auto | digits10< int128_opt > () noexcept -> int |
|
template<> |
constexpr auto | digits10< uint128_t > () noexcept -> int |
|
template<typename Char > |
FMT_API auto | thousands_sep_impl (locale_ref loc) -> thousands_sep_result< Char > |
|
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_API auto | decimal_point_impl (locale_ref loc) -> Char |
|
template<typename Char > |
auto | decimal_point (locale_ref loc) -> Char |
|
template<> |
auto | decimal_point (locale_ref loc) -> wchar_t |
|
template<typename Char > |
auto | equal2 (const Char *lhs, const char *rhs) -> bool |
|
auto | equal2 (const char *lhs, const char *rhs) -> bool |
|
template<typename Char > |
FMT_CONSTEXPR20 FMT_INLINE void | copy2 (Char *dst, const char *src) |
|
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 > |
|
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 > |
auto | format_uint (It out, UInt value, int num_digits, bool upper=false) -> It |
|
template<typename T > |
FMT_API auto | dragonbox::to_decimal (T x) noexcept -> decimal_fp< T > |
|
template<typename Float > |
constexpr bool | has_implicit_bit () |
|
template<typename Float > |
constexpr int | num_significand_bits () |
|
template<typename Float > |
constexpr auto | exponent_mask () -> typename dragonbox::float_info< Float >::carrier_uint |
|
template<typename Float > |
constexpr auto | exponent_bias () -> int |
|
template<typename Char , typename It > |
FMT_CONSTEXPR auto | write_exponent (int exp, It it) -> It |
|
template<int SHIFT = 0, typename F > |
FMT_CONSTEXPR basic_fp< F > | normalize (basic_fp< F > value) |
|
FMT_CONSTEXPR uint64_t | multiply (uint64_t lhs, uint64_t rhs) |
|
FMT_CONSTEXPR fp | operator* (fp x, fp y) |
|
FMT_CONSTEXPR fp | get_cached_power (int min_exponent, int &pow10_exponent) |
|
template<typename T > |
auto | snprintf_float (T value, int precision, float_specs specs, buffer< char > &buf) -> int |
|
template<typename T > |
constexpr auto | convert_float (T value) -> convert_float_result< T > |
|
template<typename OutputIt , typename Char > |
FMT_NOINLINE FMT_CONSTEXPR auto | fill (OutputIt it, size_t n, const fill_t< Char > &fill) -> OutputIt |
|
template<align::type align = align::left, typename OutputIt , typename Char , typename F > |
FMT_CONSTEXPR auto | write_padded (OutputIt out, const basic_format_specs< Char > &specs, size_t size, size_t width, F &&f) -> OutputIt |
|
template<align::type align = align::left, typename OutputIt , typename Char , typename F > |
constexpr auto | write_padded (OutputIt out, const basic_format_specs< Char > &specs, size_t size, F &&f) -> OutputIt |
|
template<align::type align = align::left, typename Char , typename OutputIt > |
FMT_CONSTEXPR auto | write_bytes (OutputIt out, string_view bytes, const basic_format_specs< Char > &specs) -> OutputIt |
|
template<typename Char , typename OutputIt , typename UIntPtr > |
auto | write_ptr (OutputIt out, UIntPtr value, const basic_format_specs< Char > *specs) -> OutputIt |
|
FMT_API auto | is_printable (uint32_t cp) -> bool |
|
auto | needs_escape (uint32_t cp) -> 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<size_t width, typename Char , typename OutputIt > |
auto | write_codepoint (OutputIt out, char prefix, uint32_t cp) -> 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 OutputIt > |
auto | write_escaped_char (OutputIt out, Char v) -> OutputIt |
|
template<typename Char , typename OutputIt > |
FMT_CONSTEXPR auto | write_char (OutputIt out, Char value, const basic_format_specs< Char > &specs) -> OutputIt |
|
template<typename Char , typename OutputIt > |
FMT_CONSTEXPR auto | write (OutputIt out, Char value, const basic_format_specs< Char > &specs, locale_ref loc={}) -> OutputIt |
|
template<typename OutputIt , typename Char , typename W > |
FMT_CONSTEXPR FMT_INLINE auto | write_int (OutputIt out, int num_digits, unsigned prefix, const basic_format_specs< Char > &specs, W write_digits) -> OutputIt |
|
template<typename OutputIt , typename UInt , typename Char > |
auto | write_int_localized (OutputIt out, UInt value, unsigned prefix, const basic_format_specs< Char > &specs, const digit_grouping< Char > &grouping) -> OutputIt |
|
template<typename OutputIt , typename UInt , typename Char > |
auto | write_int_localized (OutputIt &out, UInt value, unsigned prefix, const basic_format_specs< Char > &specs, locale_ref loc) -> bool |
|
FMT_CONSTEXPR void | prefix_append (unsigned &prefix, unsigned value) |
|
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 Char , typename OutputIt , typename T > |
FMT_CONSTEXPR FMT_INLINE auto | write_int (OutputIt out, write_int_arg< T > arg, const basic_format_specs< Char > &specs, locale_ref loc) -> OutputIt |
|
template<typename Char , typename OutputIt , typename T > |
FMT_CONSTEXPR FMT_NOINLINE auto | write_int_noinline (OutputIt out, write_int_arg< T > arg, const basic_format_specs< Char > &specs, locale_ref loc) -> 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 basic_format_specs< Char > &specs, locale_ref loc) -> OutputIt |
|
template<typename Char , typename OutputIt > |
FMT_CONSTEXPR auto | write (OutputIt out, basic_string_view< Char > s, const basic_format_specs< Char > &specs) -> OutputIt |
|
template<typename Char , typename OutputIt > |
FMT_CONSTEXPR auto | write (OutputIt out, basic_string_view< type_identity_t< Char > > s, const basic_format_specs< Char > &specs, locale_ref) -> OutputIt |
|
template<typename Char , typename OutputIt > |
FMT_CONSTEXPR auto | write (OutputIt out, const Char *s, const basic_format_specs< Char > &specs, 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 > |
FMT_CONSTEXPR20 auto | write_nonfinite (OutputIt out, bool isnan, basic_format_specs< Char > specs, const float_specs &fspecs) -> OutputIt |
|
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 Char , typename OutputIt > |
constexpr auto | write_significand (OutputIt out, const char *significand, int significand_size) -> OutputIt |
|
template<typename Char , typename OutputIt , typename UInt > |
auto | write_significand (OutputIt out, UInt significand, int significand_size) -> 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 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 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 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 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 OutputIt , typename DecimalFP , typename Char , typename Grouping = digit_grouping<Char>> |
FMT_CONSTEXPR20 auto | do_write_float (OutputIt out, const DecimalFP &f, const basic_format_specs< Char > &specs, float_specs fspecs, locale_ref loc) -> OutputIt |
|
template<typename OutputIt , typename DecimalFP , typename Char > |
FMT_CONSTEXPR20 auto | write_float (OutputIt out, const DecimalFP &f, const basic_format_specs< Char > &specs, float_specs fspecs, locale_ref loc) -> OutputIt |
|
template<typename T > |
constexpr bool | isnan (T value) |
|
template<typename T , FMT_ENABLE_IF(std::is_floating_point< T >::value && has_isfinite< T >::value) > |
FMT_CONSTEXPR20 bool | isfinite (T value) |
|
template<typename T , FMT_ENABLE_IF(!has_isfinite< T >::value) > |
FMT_CONSTEXPR bool | isfinite (T value) |
|
template<typename T , FMT_ENABLE_IF(is_floating_point< T >::value) > |
FMT_INLINE FMT_CONSTEXPR bool | signbit (T value) |
|
FMT_CONSTEXPR round_direction | get_round_direction (uint64_t divisor, uint64_t remainder, uint64_t error) |
|
FMT_CONSTEXPR20 void | adjust_precision (int &precision, int exp10) |
|
FMT_INLINE FMT_CONSTEXPR20 auto | grisu_gen_digits (fp value, uint64_t error, int &exp, gen_digits_handler &handler) -> digits::result |
|
FMT_CONSTEXPR20 void | format_dragon (basic_fp< uint128_t > value, unsigned flags, int num_digits, buffer< char > &buf, int &exp10) |
|
template<typename Float > |
FMT_CONSTEXPR20 auto | format_float (Float value, int precision, float_specs specs, buffer< char > &buf) -> int |
|
template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(is_floating_point< T >::value) > |
FMT_CONSTEXPR20 auto | write (OutputIt out, T value, basic_format_specs< Char > specs, locale_ref loc={}) -> 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 > |
auto | write (OutputIt out, monostate, basic_format_specs< Char >={}, locale_ref={}) -> OutputIt |
|
template<typename Char , typename OutputIt > |
FMT_CONSTEXPR auto | write (OutputIt out, basic_string_view< Char > 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 , 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(std::is_same< T, bool >::value) > |
FMT_CONSTEXPR auto | write (OutputIt out, T value, const basic_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_CHAR_TRAITS auto | write (OutputIt out, const Char *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 basic_format_specs< Char > &specs={}, locale_ref={}) -> 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< const T &, decltype(arg_mapper< Context >().map(value))>::value, OutputIt > |
|
template<template< typename > class Handler, typename FormatArg , typename ErrorHandler > |
FMT_CONSTEXPR auto | get_dynamic_spec (FormatArg arg, ErrorHandler eh) -> int |
|
template<typename Context , typename ID > |
FMT_CONSTEXPR auto | get_arg (Context &ctx, ID id) -> typename Context::format_arg |
|
template<template< typename > class Handler, typename Context > |
FMT_CONSTEXPR void | handle_dynamic_spec (int &value, arg_ref< typename Context::char_type > ref, Context &ctx) |
|
template<typename Locale , typename Char > |
auto | vformat (const Locale &loc, basic_string_view< Char > format_str, basic_format_args< buffer_context< type_identity_t< Char > > > args) -> std::basic_string< Char > |
|
FMT_API void | format_error_code (buffer< char > &out, int error_code, string_view message) noexcept |
|
FMT_API void | report_error (format_func func, int error_code, const char *message) noexcept |
|
FMT_END_DETAIL_NAMESPACE FMT_API auto | vsystem_error (int error_code, string_view format_str, format_args args) -> std::system_error |
|
template<typename... T> |
auto | system_error (int error_code, format_string< T... > fmt, T &&... args) -> std::system_error |
| \rst Constructs :class:std::system_error with a message formatted with fmt::format(fmt, args...) . More...
|
|
FMT_API void | format_system_error (detail::buffer< char > &out, int error_code, const char *message) noexcept |
| \rst Formats an error message for an error returned by an operating system or a language runtime, for example a file opening error, and writes it to out. More...
|
|
FMT_API void | report_system_error (int error_code, const char *message) noexcept |
|
template<typename T > |
auto | ptr (T p) -> const void * |
| \rst Converts p to const void* for pointer formatting. More...
|
|
template<typename T > |
auto | ptr (const std::unique_ptr< T > &p) -> const void * |
|
template<typename T > |
auto | ptr (const std::shared_ptr< T > &p) -> const void * |
|
template<typename Enum > |
constexpr auto | underlying (Enum e) noexcept -> underlying_t< Enum > |
| \rst Converts e to the underlying type. More...
|
|
template<typename Enum , FMT_ENABLE_IF(std::is_enum< Enum >::value) > |
constexpr auto | enums::format_as (Enum e) noexcept -> underlying_t< Enum > |
|
template<typename T > |
auto | group_digits (T value) -> group_digits_view< T > |
| \rst Returns a view that formats an integer value using ',' as a locale-independent thousands separator. More...
|
|
template<typename It , typename Sentinel > |
auto | join (It begin, Sentinel end, string_view sep) -> join_view< It, Sentinel > |
| Returns a view that formats the iterator range [begin, end) with elements separated by sep . More...
|
|
template<typename Range > |
auto | join (Range &&range, string_view sep) -> join_view< detail::iterator_t< Range >, detail::sentinel_t< Range > > |
| \rst Returns a view that formats range with elements separated by sep . More...
|
|
template<typename T , FMT_ENABLE_IF(!std::is_integral< T >::value) > |
auto | to_string (const T &value) -> std::string |
| \rst Converts value to std::string using the default format for type T. More...
|
|
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) > |
FMT_NODISCARD auto | to_string (T value) -> std::string |
|
template<typename Char , size_t SIZE> |
FMT_NODISCARD auto | to_string (const basic_memory_buffer< Char, SIZE > &buf) -> std::basic_string< Char > |
|
template<typename Char > |
FMT_BEGIN_DETAIL_NAMESPACE void | vformat_to (buffer< Char > &buf, basic_string_view< Char > fmt, basic_format_args< FMT_BUFFER_CONTEXT(type_identity_t< Char >)> args, locale_ref loc) |
|
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 > |
|
template FMT_API auto | decimal_point_impl (locale_ref) -> char |
|
template<typename Locale , FMT_ENABLE_IF(detail::is_locale< Locale >::value) > |
FMT_END_DETAIL_NAMESPACE auto | vformat (const Locale &loc, string_view fmt, format_args args) -> std::string |
|
template<typename Locale , typename... T, FMT_ENABLE_IF(detail::is_locale< Locale >::value) > |
auto | format (const Locale &loc, format_string< T... > fmt, T &&... args) -> std::string |
|
template<typename OutputIt , typename Locale , FMT_ENABLE_IF(detail::is_output_iterator< OutputIt, char >::value && detail::is_locale< Locale >::value) > |
auto | vformat_to (OutputIt out, const Locale &loc, string_view fmt, format_args args) -> OutputIt |
|
template<typename OutputIt , typename Locale , typename... T, FMT_ENABLE_IF(detail::is_output_iterator< OutputIt, char >::value && detail::is_locale< Locale >::value) > |
FMT_INLINE auto | format_to (OutputIt out, const Locale &loc, format_string< T... > fmt, T &&... args) -> OutputIt |
|