Loading...
Searching...
No Matches
detail Namespace Reference
Typedef Documentation◆ checked_ptr
template<typename T >
◆ format_func
◆ has_fallback_formatter
template<typename T , typename Context >
◆ index_sequence
template<size_t... N>
◆ is_fast_float
template<typename T >
Initial value:
sizeof(T) <= sizeof(double)>
◆ is_integer
template<typename T >
Initial value:
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>
◆ is_signed
template<typename T >
◆ iterator_t
template<typename T >
◆ long_type
◆ make_index_sequence
template<size_t N>
◆ mapped_type_constant
template<typename T , typename Context >
◆ needs_conversion
template<typename InputIt , typename OutChar >
Initial value:
std::is_same<typename std::iterator_traits<InputIt>::value_type,
char>::value &&
std::is_same<OutChar, char8_type>::value>
◆ sentinel_t
template<typename T >
◆ uint32_or_64_or_128_t
template<typename T >
Initial value:
conditional_t<num_bits<T>() <= 32 && !FMT_REDUCE_INT_INSTANTIATIONS,
uint32_t,
conditional_t<num_bits<T>() <= 64, uint64_t, uint128_t>>
◆ uintptr_t
◆ ulong_type
◆ value_type
template<typename Range >
◆ void_t
template<typename... Ts>
Enumeration Type Documentation◆ anonymous enum◆ anonymous enum◆ anonymous enum◆ anonymous enum
◆ anonymous enum
◆ arg_id_kind
◆ char8_type
◆ float_format
◆ numeric_system
◆ round_direction
Definition at line 1475 of file format-inl.h. ◆ type
Function Documentation◆ assert_fail()
Definition at line 38 of file format-inl.h. ◆ assume()
Definition at line 336 of file format.h. Referenced by to_string(). ◆ base_iterator() [1/2]
template<typename Iterator >
◆ base_iterator() [2/2]
template<typename Container , FMT_ENABLE_IF(is_contiguous< Container >::value) >
Definition at line 404 of file format.h. Referenced by write(), write(), write(), write_float(), write_padded(), and write_ptr(). ◆ bit_cast()
template<typename Dest , typename Source >
◆ bsr2log10()
◆ check() [1/2]
template<typename T , typename U >
◆ check() [2/2]
template<typename T >
◆ check_format_string() [1/2]
template<typename... , typename S , FMT_ENABLE_IF(!is_compile_string< S >::value) >
Definition at line 520 of file core.h. Referenced by check_format_string(), and make_args_checked(). ◆ check_format_string() [2/2]
template<typename... , typename S , FMT_ENABLE_IF(is_compile_string< S >::value) >
Definition at line 3223 of file format.h. References check_format_string(), FMT_CONSTEXPR_DECL, and to_string_view(). ◆ check_pointer_type_spec()
template<typename Char , typename ErrorHandler >
Definition at line 1437 of file format.h. References check_pointer_type_spec(). Referenced by check_pointer_type_spec(), arg_formatter_base< OutputIt, Char, ErrorHandler >::operator()(), and formatter< T, Char, enable_if_t< detail::type_constant< T, Char >::value !=detail::type::custom_type > >::parse(). ◆ check_string_type_spec()
template<typename Char , typename ErrorHandler >
Definition at line 1432 of file format.h. References check_string_type_spec(). Referenced by check_string_type_spec(), arg_formatter_base< OutputIt, Char, ErrorHandler >::operator()(), formatter< T, Char, enable_if_t< detail::type_constant< T, Char >::value !=detail::type::custom_type > >::parse(), and formatter< bytes >::parse(). ◆ code_point_index() [1/2]
template<typename Char >
Definition at line 548 of file format.h. References basic_string_view< Char >::size(). Referenced by write(). ◆ code_point_index() [2/2]
Definition at line 554 of file format.h. References basic_string_view< Char >::data(), and basic_string_view< Char >::size(). ◆ code_point_length()
template<typename Char >
Definition at line 2767 of file format.h. References code_point_length(), and const_check(). Referenced by code_point_length(), parse_align(), and utf8_decode(). ◆ compile() [1/2]
template<typename... Args, typename Char , size_t N>
◆ compile() [2/2]
template<typename... Args, typename S , FMT_ENABLE_IF(is_compile_string< S >::value) >
Definition at line 582 of file compile.h. References to_string_view(). Referenced by compile(), format(), format_to(), and format_to_n(). ◆ compile_format_string()
template<bool IS_CONSTEXPR, typename Char , typename PartHandler >
◆ compile_string_to_view() [1/2]
template<typename Char , size_t N>
Definition at line 3181 of file format.h. References compile_string_to_view(). Referenced by compile_string_to_view(), and compile_string_to_view(). ◆ compile_string_to_view() [2/2]
template<typename Char >
Definition at line 3191 of file format.h. References compile_string_to_view(). ◆ compile_to_parts()
template<typename Char , unsigned N>
Definition at line 297 of file compile.h. References format_part_array< Char, N >::data, FMT_CONSTEXPR, and format_part< Char >::make_text(). ◆ const_check()
template<typename T >
Definition at line 282 of file core.h. Referenced by code_point_length(), format_duration_unit(), arg_formatter_base< OutputIt, Char, ErrorHandler >::operator()(), arg_converter< T, Context >::operator()(), formatter< T, Char, enable_if_t< detail::type_constant< T, Char >::value !=detail::type::custom_type > >::parse(), dynamic_format_arg_store< Context >::push_back(), dynamic_format_arg_store< Context >::push_back(), and write(). ◆ constexpr_max()
template<typename T >
◆ convert_arg()
template<typename T , typename Context , typename Char >
Definition at line 122 of file printf.h. References arg(), and visit_format_arg(). Referenced by basic_printf_context< OutputIt, Char >::format(). ◆ copy() [1/3]
template<typename OutputIterator >
◆ copy() [2/3]
template<typename OutputIterator >
◆ copy() [3/3]
template<typename RangeT , typename OutputIterator >
Definition at line 60 of file ranges.h. Referenced by formatter< T, Char, enable_if_t< fmt::is_range< T, Char >::value &&(has_formatter< detail::value_type< T >, format_context >::value||detail::has_fallback_formatter< detail::value_type< T >, format_context >::value) > >::format(), formatter< TupleT, Char, enable_if_t< fmt::is_tuple_like< TupleT >::value > >::format(), and formatter< TupleT, Char, enable_if_t< fmt::is_tuple_like< TupleT >::value > >::format_each< FormatContext >::operator()(). ◆ copy2() [1/2]
template<typename Char >
◆ copy2() [2/2]
◆ copy_str() [1/2]
template<typename Char , typename InputIt >
◆ copy_str() [2/2]
template<typename OutChar , typename InputIt , typename OutputIt , FMT_ENABLE_IF(!needs_conversion< InputIt, OutChar >::value) >
◆ copy_unit() [1/2]
template<typename Char , typename OutputIt >
Definition at line 767 of file chrono.h. References basic_string_view< Char >::begin(), and basic_string_view< Char >::end(). Referenced by format_duration_unit(). ◆ copy_unit() [2/2]
template<typename OutputIt >
Definition at line 772 of file chrono.h. References utf8_to_utf16::c_str(), and utf8_to_utf16::size(). ◆ count() [1/2]
template<bool B = false>
Definition at line 968 of file core.h. Referenced by buffer< T >::append(), count_digits(), fwrite_fully(), make_args_checked(), strftime(), strftime(), buffer< T >::try_resize(), and formatbuf< Char >::xsputn(). ◆ count() [2/2]
template<bool B1, bool B2, bool... Tail>
◆ count_code_points() [1/3]
template<typename Char >
Definition at line 528 of file format.h. References basic_string_view< Char >::size(). Referenced by count_code_points(), arg_formatter_base< OutputIt, Char, ErrorHandler >::write(), and write(). ◆ count_code_points() [2/3]
Definition at line 533 of file format.h. References basic_string_view< Char >::data(), and basic_string_view< Char >::size(). ◆ count_code_points() [3/3]
Definition at line 542 of file format.h. References count_code_points(), basic_string_view< Char >::data(), and basic_string_view< Char >::size(). ◆ count_digits() [1/2]
template<unsigned BITS, typename UInt >
Definition at line 962 of file format.h. References count_digits(). ◆ count_digits() [2/2]
Definition at line 928 of file format.h. References count(), and count_digits(). Referenced by count_digits(), count_digits(), format_decimal(), format_error_code(), get_significand_size(), grisu_gen_digits(), int_writer< OutputIt, Char, UInt >::on_dec(), int_writer< OutputIt, Char, UInt >::on_num(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::write(). ◆ count_digits< 4 >() [1/2]
template<>
Definition at line 222 of file format-inl.h. References fallback_uintptr::value. ◆ count_digits< 4 >() [2/2]
template<>
Definition at line 222 of file format-inl.h. References fallback_uintptr::value. ◆ count_named_args()
template<typename... Args>
◆ count_parts()
template<typename Char >
Definition at line 119 of file compile.h. References part_counter< Char >::num_parts. ◆ decimal_point() [1/2]
template<typename Char >
Definition at line 1018 of file format.h. References decimal_point(). Referenced by decimal_point(), write_float(), write_significand(), write_significand(), and write_significand(). ◆ decimal_point() [2/2]
template<>
Definition at line 1021 of file format.h. References decimal_point(). ◆ decimal_point_impl() [1/2]
template<typename Char >
Definition at line 190 of file format-inl.h. References locale_ref::get(). ◆ decimal_point_impl() [2/2]
template<typename Char >
Definition at line 190 of file format-inl.h. References locale_ref::get(). ◆ digits10()
template<typename Int >
◆ digits10< int128_t >()◆ digits10< uint128_t >()◆ encode_types() [1/2]
template<typename >
◆ encode_types() [2/2]
template<typename Context , typename Arg , typename... Args>
Definition at line 1408 of file core.h. References packed_arg_bits. ◆ equal2() [1/2]
template<typename Char >
◆ equal2() [2/2]
◆ exponent_mask()
template<typename T >
Definition at line 1273 of file format.h. References exponent_mask(). Referenced by fp::assign(), and exponent_mask(). ◆ fallback_format()
template<typename Double >
Definition at line 2313 of file format-inl.h. References bigint::assign(), bigint::assign_pow10(), buffer< T >::data(), denominator(), numerator(), to_unsigned(), and buffer< T >::try_resize(). Referenced by format_float(). ◆ fill()
template<typename OutputIt , typename Char >
Definition at line 1483 of file format.h. References fill(). Referenced by fill(), specs_setter< Char >::on_fill(), and write_padded(). ◆ find()
template<bool IS_CONSTEXPR, typename T , typename Ptr = const T*>
◆ find< false, char >()
template<>
Definition at line 2937 of file format.h. References first(), and to_unsigned(). ◆ first()
template<typename T , typename... Tail>
Definition at line 40 of file compile.h. Referenced by find(), find< false, char >(), and format(). ◆ FMT_NOMACRO()◆ FMT_SUPPRESS_MSC_WARNING()
◆ FMT_TYPE_CONSTANT() [1/14]
◆ FMT_TYPE_CONSTANT() [2/14]
◆ FMT_TYPE_CONSTANT() [3/14]
◆ FMT_TYPE_CONSTANT() [4/14]
◆ FMT_TYPE_CONSTANT() [5/14]
◆ FMT_TYPE_CONSTANT() [6/14]
◆ FMT_TYPE_CONSTANT() [7/14]
◆ FMT_TYPE_CONSTANT() [8/14]
◆ FMT_TYPE_CONSTANT() [9/14]
◆ FMT_TYPE_CONSTANT() [10/14]
◆ FMT_TYPE_CONSTANT() [11/14]
◆ FMT_TYPE_CONSTANT() [12/14]
◆ FMT_TYPE_CONSTANT() [13/14]
◆ FMT_TYPE_CONSTANT() [14/14]
◆ for_each() [1/2]
template<class Tuple , class F , size_t... Is>
Definition at line 142 of file ranges.h. Referenced by for_each(), and formatter< TupleT, Char, enable_if_t< fmt::is_tuple_like< TupleT >::value > >::format(). ◆ for_each() [2/2]
template<class Tuple , class F >
Definition at line 155 of file ranges.h. References for_each(), and get_indexes(). ◆ format_arg()
template<typename OutputIt , typename Context , typename Id >
Definition at line 195 of file compile.h. References visit_format_arg(). ◆ format_decimal() [1/2]
template<typename Char , typename UInt >
Definition at line 1049 of file format.h. References copy2(), count_digits(), FMT_ASSERT, and format_decimal(). Referenced by format_decimal(), format_decimal(), format_int::format_unsigned(), int_writer< OutputIt, Char, UInt >::on_num(), and write_significand(). ◆ format_decimal() [2/2]
template<typename Char , typename UInt , typename Iterator , FMT_ENABLE_IF(!std::is_pointer< remove_cvref_t< Iterator > >::value) >
Definition at line 1073 of file format.h. References format_decimal(). ◆ format_duration_unit()
template<typename Char , typename Period , typename OutputIt >
Definition at line 780 of file chrono.h. References const_check(), copy_unit(), and format_to(). ◆ format_duration_value()
template<typename Char , typename Rep , typename OutputIt >
Definition at line 758 of file chrono.h. References format(), and format_to(). ◆ format_error_code()
Definition at line 130 of file format-inl.h. References count_digits(), format_to(), inline_buffer_size, is_negative(), and to_unsigned(). Referenced by format_system_error(). ◆ format_float()
template<typename T >
Definition at line 2430 of file format-inl.h. References float_specs::binary32, buffer< T >::data(), fp::e, detail::digits::error, exp, fallback_format(), fixed, FMT_ASSERT, float_specs::format, get_cached_power(), grisu_gen_digits(), normalize(), buffer< T >::push_back(), float_specs::showpoint, fp::significand_size, buffer< T >::size(), snprintf_float(), detail::dragonbox::to_decimal(), to_unsigned(), buffer< T >::try_resize(), and float_specs::use_grisu. ◆ format_str_quoted() [1/5]
template<typename Arg , FMT_ENABLE_IF(!is_like_std_string< typename std::decay< Arg >::type >::value) >
Definition at line 165 of file ranges.h. Referenced by formatter< T, Char, enable_if_t< fmt::is_range< T, Char >::value &&(has_formatter< detail::value_type< T >, format_context >::value||detail::has_fallback_formatter< detail::value_type< T >, format_context >::value) > >::format(), and formatter< TupleT, Char, enable_if_t< fmt::is_tuple_like< TupleT >::value > >::format_each< FormatContext >::operator()(). ◆ format_str_quoted() [2/5]
◆ format_str_quoted() [3/5]
◆ format_str_quoted() [4/5]
◆ format_str_quoted() [5/5]
◆ format_uint() [1/3]
template<unsigned BASE_BITS, typename Char >
Definition at line 1096 of file format.h. References format_uint(), and fallback_uintptr::value. ◆ format_uint() [2/3]
template<unsigned BASE_BITS, typename Char , typename UInt >
Definition at line 1082 of file format.h. References format_uint(). Referenced by format_uint(), format_uint(), and format_uint(). ◆ format_uint() [3/3]
template<unsigned BASE_BITS, typename Char , typename It , typename UInt >
Definition at line 1118 of file format.h. References format_uint(), ptr(), and to_unsigned(). ◆ format_value()
template<typename Char , typename T >
Definition at line 107 of file ostream.h. References buffer< T >::size(), and buffer< T >::try_resize(). Referenced by fallback_formatter< T, Char, enable_if_t< is_streamable< T, Char >::value > >::format(), fallback_formatter< T, Char, enable_if_t< is_streamable< T, Char >::value > >::format(), and printf_formatter< T >::format(). ◆ fputs()
template<typename Char >
Definition at line 448 of file color.h. Referenced by reset_color(), reset_color< wchar_t >(), and vprint(). ◆ fputs< wchar_t >()
template<>
◆ fwrite_fully()
◆ get_arg()
template<typename Context , typename ID >
Definition at line 2559 of file format.h. References arg(), and get_arg(). Referenced by specs_handler< ParseContext, Context >::get_arg(), specs_handler< ParseContext, Context >::get_arg(), get_arg(), specs_handler< ParseContext, Context >::get_arg(), basic_printf_context< OutputIt, Char >::get_arg(), specs_handler< ParseContext, Context >::on_dynamic_precision(), specs_handler< ParseContext, Context >::on_dynamic_width(), format_handler< OutputIt, Char, Context >::on_format_specs(), and format_handler< OutputIt, Char, Context >::on_replacement_field(). ◆ get_buffer() [1/2]
template<typename T >
◆ get_buffer() [2/2]
template<typename T , typename OutputIt >
◆ get_buffer_init() [1/2]
template<typename T >
Definition at line 883 of file core.h. References get_container(). ◆ get_buffer_init() [2/2]
template<typename OutputIt >
Definition at line 880 of file core.h. Referenced by vformat_to(), vformat_to(), and vformat_to(). ◆ get_cached_power()
Definition at line 1199 of file format-inl.h. References basic_data< T >::grisu_pow10_exponents, basic_data< T >::grisu_pow10_significands, index, basic_data< T >::log10_2_significand, and fp::significand_size. Referenced by format_float(). ◆ get_container()
template<typename Container >
Definition at line 650 of file core.h. Referenced by printf_formatter< T >::format(), get_buffer_init(), reserve(), reserve(), to_pointer(), and write(). ◆ get_data() [1/2]
template<typename Container >
◆ get_data() [2/2]
template<typename Char >
◆ get_dynamic_spec()
template<template< typename > class Handler, typename FormatArg , typename ErrorHandler >
Definition at line 2550 of file format.h. References arg(), get_dynamic_spec(), to_unsigned(), and visit_format_arg(). Referenced by get_dynamic_spec(). ◆ get_indexes()
template<class T >
Definition at line 150 of file ranges.h. Referenced by for_each(). ◆ get_iterator() [1/2]
template<typename Buffer >
Definition at line 888 of file core.h. Referenced by vformat_to(), vformat_to(), and vformat_to(). ◆ get_iterator() [2/2]
template<typename T >
◆ get_milliseconds()
template<typename Rep , typename Period , FMT_ENABLE_IF(std::is_integral< Rep >::value) >
Definition at line 725 of file chrono.h. Referenced by chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_second(). ◆ get_round_direction()
Definition at line 1481 of file format-inl.h. References down, FMT_ASSERT, unknown, and up. Referenced by fixed_handler::on_digit(), and fixed_handler::on_start(). ◆ get_significand_size() [1/2]
Definition at line 1741 of file format.h. References get_significand_size(), and fp::significand_size. Referenced by get_significand_size(), get_significand_size(), and write_float(). ◆ get_significand_size() [2/2]
template<typename T >
Definition at line 1745 of file format.h. References count_digits(), and get_significand_size(). ◆ get_units()
template<typename Period >
◆ get_units< std::atto >()
template<>
◆ get_units< std::centi >()
template<>
◆ get_units< std::deca >()
template<>
◆ get_units< std::deci >()
template<>
◆ get_units< std::exa >()
template<>
◆ get_units< std::femto >()
template<>
◆ get_units< std::giga >()
template<>
◆ get_units< std::hecto >()
template<>
◆ get_units< std::kilo >()
template<>
◆ get_units< std::mega >()
template<>
◆ get_units< std::micro >()
template<>
◆ get_units< std::milli >()
template<>
◆ get_units< std::nano >()
template<>
◆ get_units< std::peta >()
template<>
◆ get_units< std::pico >()
template<>
◆ get_units< std::ratio< 1 > >()
template<>
◆ get_units< std::ratio< 3600 > >()
template<>
◆ get_units< std::ratio< 60 > >()
template<>
◆ get_units< std::tera >()
template<>
◆ gmtime_r()◆ gmtime_s()◆ grisu_gen_digits()
template<typename Handler >
Definition at line 1509 of file format-inl.h. References count_digits(), fp::e, exp, fp::f, FMT_ASSERT, detail::digits::more, and basic_data< T >::powers_of_10_64. Referenced by format_float(). ◆ grouping()
template<typename Char >
◆ grouping< wchar_t >()
template<>
◆ grouping_impl() [1/2]
template<typename Char >
Definition at line 183 of file format-inl.h. References locale_ref::get(). ◆ grouping_impl() [2/2]
template<typename Char >
Definition at line 183 of file format-inl.h. References locale_ref::get(). ◆ handle_char_specs()
template<typename Char , typename Handler >
Definition at line 1412 of file format.h. References basic_format_specs< Char >::align, basic_format_specs< Char >::alt, handle_char_specs(), sign::none, align::numeric, basic_format_specs< Char >::sign, and basic_format_specs< Char >::type. Referenced by handle_char_specs(), and arg_formatter_base< OutputIt, Char, ErrorHandler >::operator()(). ◆ handle_cstring_type_spec()
template<typename Char , typename Handler >
Definition at line 1422 of file format.h. References handle_cstring_type_spec(). Referenced by handle_cstring_type_spec(), arg_formatter_base< OutputIt, Char, ErrorHandler >::operator()(), and formatter< T, Char, enable_if_t< detail::type_constant< T, Char >::value !=detail::type::custom_type > >::parse(). ◆ handle_dynamic_spec()
template<template< typename > class Handler, typename Context >
Definition at line 3233 of file format.h. References handle_dynamic_spec(), arg_ref< Char >::value::index, arg_ref< Char >::kind, arg_ref< Char >::value::name, and arg_ref< Char >::val. Referenced by handle_dynamic_spec(). ◆ handle_int_type_spec()
template<typename Handler >
Definition at line 1331 of file format.h. References handle_int_type_spec(). Referenced by handle_int_type_spec(), char_specs_checker< ErrorHandler >::on_int(), and arg_formatter_base< OutputIt, Char, ErrorHandler >::write_int(). ◆ init_named_args() [1/4]
template<typename Char >
Definition at line 944 of file core.h. Referenced by format_arg_store< Context, Args >::format_arg_store(), init_named_args(), and init_named_args(). ◆ init_named_args() [2/4]
template<typename Char , typename T , typename... Tail>
Definition at line 953 of file core.h. References arg(), init_named_args(), and named_arg_info< Char >::name. ◆ init_named_args() [3/4]
template<typename Char , typename T , typename... Tail>
Definition at line 947 of file core.h. References init_named_args(). ◆ init_named_args() [4/4]
template<typename... Args>
◆ is_arithmetic_type()
Definition at line 1028 of file core.h. References last_numeric_type, and none_type. Referenced by basic_format_arg< Context >::is_arithmetic(), and numeric_specs_checker< ErrorHandler >::require_numeric_argument(). ◆ is_ascii_letter()
template<typename Char >
Definition at line 2779 of file format.h. References is_ascii_letter(). Referenced by is_ascii_letter(), and format_handler< OutputIt, Char, Context >::on_format_specs(). ◆ is_big_endian()
Definition at line 289 of file format.h. Referenced by fallback_uintptr::fallback_uintptr(). ◆ is_integral_type()
Definition at line 1024 of file core.h. References last_integer_type, and none_type. Referenced by numeric_specs_checker< ErrorHandler >::check_precision(), numeric_specs_checker< ErrorHandler >::check_sign(), and basic_format_arg< Context >::is_integral(). ◆ is_name_start()
template<typename Char >
Definition at line 2342 of file format.h. References is_name_start(). Referenced by is_name_start(), and parse_arg_id(). ◆ is_negative()
template<typename T , FMT_ENABLE_IF(is_signed< T >::value) >
Definition at line 792 of file format.h. References is_negative(). Referenced by format_error_code(), int_writer< OutputIt, Char, UInt >::int_writer(), is_negative(), width_checker< ErrorHandler >::operator()(), precision_checker< ErrorHandler >::operator()(), and printf_width_handler< Char >::operator()(). ◆ is_supported_floating_point()
template<typename T , FMT_ENABLE_IF(std::is_floating_point< T >::value) >
Definition at line 801 of file format.h. References FMT_USE_DOUBLE, FMT_USE_FLOAT, FMT_USE_LONG_DOUBLE, and is_supported_floating_point(). Referenced by is_supported_floating_point(), arg_formatter_base< OutputIt, Char, ErrorHandler >::operator()(), and write(). ◆ is_unicode()
template<typename Char >
Definition at line 332 of file core.h. References FMT_UNICODE. ◆ isfinite()
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
Definition at line 668 of file chrono.h. Referenced by chrono_formatter< FormatContext, OutputIt, Rep, Period >::handle_nan_inf(). ◆ isnan()
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
◆ localtime_s()◆ make_arg() [1/3]
template<bool IS_PACKED, typename Context , type , typename T , FMT_ENABLE_IF(IS_PACKED) >
◆ make_arg() [2/3]
template<typename Context , typename T >
Definition at line 1414 of file core.h. References arg(), arg_mapper< Context >::map(), and basic_format_arg< Context >::type_. ◆ make_arg() [3/3]
template<bool IS_PACKED, typename Context , type , typename T , FMT_ENABLE_IF(!IS_PACKED) >
◆ make_background_color()
template<typename Char >
Definition at line 437 of file color.h. References basic_data< T >::background_color. ◆ make_checked()
template<typename T >
Definition at line 365 of file format.h. Referenced by buffer< T >::append(), buffer< char >::append(), bigint::assign(), basic_memory_buffer< T, SIZE, Allocator >::move(), int_writer< OutputIt, Char, UInt >::on_num(), and reserve(). ◆ make_emphasis()
template<typename Char >
◆ make_foreground_color()
template<typename Char >
Definition at line 431 of file color.h. References basic_data< T >::foreground_color. ◆ max_value()◆ mod()
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
Definition at line 693 of file chrono.h. Referenced by chrono_formatter< FormatContext, OutputIt, Rep, Period >::hour(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::hour12(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::minute(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::second(). ◆ multiply()
Definition at line 1178 of file format-inl.h. Referenced by operator*(). ◆ normalize()Definition at line 1160 of file format-inl.h. References fp::double_significand_size, fp::implicit_bit, and fp::significand_size. Referenced by format_float(). ◆ num_bits()◆ num_bits< fallback_uintptr >()
template<>
◆ num_bits< int128_t >()◆ num_bits< uint128_t >()◆ operator*()Definition at line 1195 of file format-inl.h. References fp::e, fp::f, and multiply(). ◆ operator<<() [1/5]
template<typename Char , typename Traits >
◆ operator<<() [2/5]
template<typename Char , typename Traits >
◆ operator<<() [3/5]
template<typename Traits >
◆ operator<<() [4/5]
template<typename Traits >
◆ operator<<() [5/5]
template<typename Traits >
◆ operator==()Definition at line 1175 of file format-inl.h. ◆ parse_align()
template<typename Char , typename Handler >
Definition at line 2795 of file format.h. References align::center, code_point_length(), FMT_ASSERT, align::left, align::none, align::numeric, parse_align(), align::right, to_ascii(), and to_unsigned(). Referenced by formatter< std::chrono::duration< Rep, Period >, Char >::do_parse(), parse_align(), and parse_format_specs(). ◆ parse_arg_id()
template<typename Char , typename IDHandler >
Definition at line 2700 of file format.h. References FMT_ASSERT, index, is_name_start(), parse_arg_id(), parse_nonnegative_int(), and to_unsigned(). Referenced by parse_arg_id(), parse_precision(), parse_replacement_field(), and parse_width(). ◆ parse_chrono_format()
template<typename Char , typename Handler >
◆ parse_float_type_spec()
template<typename ErrorHandler = error_handler, typename Char >
Definition at line 1363 of file format.h. References parse_float_type_spec(). Referenced by formatter< T, Char, enable_if_t< detail::type_constant< T, Char >::value !=detail::type::custom_type > >::parse(), and parse_float_type_spec(). ◆ parse_format_specs() [1/2]
template<typename Char , typename SpecHandler >
Definition at line 2879 of file format.h. References parse_align(), parse_format_specs(), parse_precision(), parse_width(), and to_ascii(). Referenced by format_string_checker< Char, ErrorHandler, Args >::format_string_checker(), format_handler< OutputIt, Char, Context >::on_format_specs(), format_string_compiler< Char, PartHandler >::on_format_specs(), parse_format_specs(), and parse_format_specs(). ◆ parse_format_specs() [2/2]
template<typename T , typename ParseContext >
Definition at line 3036 of file format.h. References char_type, arg_mapper< Context >::map(), and parse_format_specs(). ◆ parse_format_string()
template<bool IS_CONSTEXPR, typename Char , typename Handler >
Definition at line 2986 of file format.h. References basic_string_view< Char >::data(), FMT_CONSTEXPR, parse_format_string(), parse_replacement_field(), basic_string_view< Char >::size(), and write(). Referenced by parse_format_string(). ◆ parse_nonnegative_int()
template<typename Char , typename ErrorHandler >
Definition at line 2349 of file format.h. References FMT_ASSERT, and parse_nonnegative_int(). Referenced by parse_arg_id(), parse_nonnegative_int(), parse_precision(), and parse_width(). ◆ parse_precision()
template<typename Char , typename Handler >
Definition at line 2855 of file format.h. References parse_arg_id(), parse_nonnegative_int(), and parse_precision(). Referenced by formatter< std::chrono::duration< Rep, Period >, Char >::do_parse(), parse_format_specs(), and parse_precision(). ◆ parse_replacement_field()
template<typename Char , typename Handler >
Definition at line 2959 of file format.h. References parse_arg_id(), and parse_replacement_field(). Referenced by parse_format_string(), and parse_replacement_field(). ◆ parse_width()
template<typename Char , typename Handler >
Definition at line 2838 of file format.h. References FMT_ASSERT, parse_arg_id(), parse_nonnegative_int(), and parse_width(). Referenced by formatter< std::chrono::duration< Rep, Period >, Char >::do_parse(), parse_format_specs(), and parse_width(). ◆ promote_float() [1/2]
Definition at line 1328 of file format.h. References promote_float(). ◆ promote_float() [2/2]
template<typename T >
Definition at line 1327 of file format.h. References promote_float(). Referenced by promote_float(), and promote_float(). ◆ report_error()
Definition at line 153 of file format-inl.h. References buffer< T >::data(), and buffer< T >::size(). Referenced by report_system_error(). ◆ reserve() [1/3]
template<typename T >
Definition at line 381 of file format.h. References get_container(), buffer< T >::size(), and buffer< T >::try_reserve(). ◆ reserve() [2/3]
template<typename Iterator >
◆ reserve() [3/3]
template<typename Container , FMT_ENABLE_IF(is_contiguous< Container >::value) >
Definition at line 373 of file format.h. References get_container(), get_data(), and make_checked(). Referenced by format_handler< OutputIt, Char, Context >::on_text(), arg_formatter_base< OutputIt, Char, ErrorHandler >::reserve(), detail::cf::vformat_to(), arg_formatter_base< OutputIt, Char, ErrorHandler >::write(), write(), write(), write(), write(), arg_formatter_base< OutputIt, Char, ErrorHandler >::write(), arg_formatter_base< OutputIt, Char, ErrorHandler >::write(), write_bytes(), write_char(), write_float(), write_int(), write_nonfinite(), write_padded(), and write_ptr(). ◆ reset_color() [1/2]
template<typename Char >
Definition at line 466 of file color.h. References buffer< T >::append(), and basic_data< T >::reset_color. ◆ reset_color() [2/2]
template<typename Char >
Definition at line 457 of file color.h. References fputs(), and basic_data< T >::reset_color. ◆ reset_color< wchar_t >()
template<>
Definition at line 461 of file color.h. References fputs(), and basic_data< T >::wreset_color. ◆ safe_strerror()
Definition at line 69 of file format-inl.h. References FMT_ASSERT, FMT_MAYBE_UNUSED, strerror_r(), and strerror_s(). Referenced by format_system_error(). ◆ snprintf_float()
template<typename T >
Definition at line 2493 of file format-inl.h. References buffer< T >::capacity(), buffer< T >::data(), exp, fixed, FMT_ASSERT, FMT_SNPRINTF, format(), float_specs::format, general, hex, float_specs::showpoint, buffer< T >::size(), to_unsigned(), buffer< T >::try_reserve(), buffer< T >::try_resize(), and float_specs::upper. Referenced by format_float(). ◆ strftime() [1/2]
Definition at line 375 of file chrono.h. References count(), and format(). Referenced by formatter< std::tm, Char >::format(). ◆ strftime() [2/2]
◆ thousands_sep() [1/2]
template<typename Char >
Definition at line 1010 of file format.h. References thousands_sep(). Referenced by thousands_sep(). ◆ thousands_sep() [2/2]
template<>
Definition at line 1013 of file format.h. References thousands_sep(). ◆ thousands_sep_impl() [1/2]
template<typename Char >
Definition at line 186 of file format-inl.h. References locale_ref::get(). ◆ thousands_sep_impl() [2/2]
template<typename Char >
Definition at line 186 of file format-inl.h. References locale_ref::get(). ◆ to_ascii() [1/2]
template<typename Char , FMT_ENABLE_IF(std::is_integral< Char >::value) >
Definition at line 2785 of file format.h. References to_ascii(). Referenced by parse_align(), parse_format_specs(), and to_ascii(). ◆ to_ascii() [2/2]
template<typename Char , FMT_ENABLE_IF(std::is_enum< Char >::value) >
Definition at line 2789 of file format.h. References to_ascii(). ◆ to_nonnegative_int()
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
Definition at line 678 of file chrono.h. References FMT_ASSERT. Referenced by chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_12_hour(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_24_hour(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_minute(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::on_second(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::time(), and chrono_formatter< FormatContext, OutputIt, Rep, Period >::write(). ◆ to_pointer() [1/2]
template<typename T >
Definition at line 395 of file format.h. References buffer< T >::capacity(), buffer< T >::data(), get_container(), buffer< T >::size(), and buffer< T >::try_resize(). ◆ to_pointer() [2/2]
template<typename T , typename OutputIt >
◆ to_string_view()
Referenced by compile(), arg_mapper< Context >::map(), and detail::cf::vformat_to(). ◆ to_uintptr()
Definition at line 315 of file format.h. Referenced by write(), and arg_formatter_base< OutputIt, Char, ErrorHandler >::write_pointer(). ◆ to_unsigned()
template<typename Int >
Definition at line 325 of file core.h. References FMT_ASSERT. Referenced by basic_format_parse_context< Char, ErrorHandler >::advance_to(), bigint::align(), buffer< T >::append(), fallback_format(), find< false, char >(), basic_printf_context< OutputIt, Char >::format(), format_error_code(), format_float(), format_uint(), get_dynamic_spec(), dynamic_specs_handler< ParseContext >::make_arg_ref(), int_writer< OutputIt, Char, UInt >::on_num(), format_string_compiler< Char, PartHandler >::on_text(), format_handler< OutputIt, Char, Context >::on_text(), bigint::operator[](), bigint::operator[](), formatter< std::chrono::duration< Rep, Period >, Char >::parse(), formatter< std::tm, Char >::parse(), parse_align(), parse_arg_id(), bigint::remove_leading_zeros(), format_int::size(), snprintf_float(), bigint::square(), utf8_to_utf16::utf8_to_utf16(), write(), chrono_formatter< FormatContext, OutputIt, Rep, Period >::write(), write_buffer(), write_float(), write_int_data< Char >::write_int_data(), write_padded(), and write_ptr(). ◆ unwrap() [1/2]
template<typename T >
◆ unwrap() [2/2]
template<typename T >
Definition at line 1451 of file core.h. Referenced by dynamic_format_arg_store< Context >::emplace_arg(), and dynamic_format_arg_store< Context >::push_back(). ◆ utf8_decode()
Definition at line 2613 of file format-inl.h. References code_point_length(). Referenced by utf8_to_utf16::utf8_to_utf16(). ◆ vformat() [1/3]
template<typename Char , FMT_ENABLE_IF(!std::is_same< Char, char >::value) >
Definition at line 3845 of file format.h. References to_string(), and vformat_to(). ◆ vformat() [2/3]
template<typename Char >
Definition at line 19 of file locale.h. References vformat_to(). ◆ vformat() [3/3]
Definition at line 2745 of file format-inl.h. References arg(), basic_string_view< Char >::data(), equal2(), basic_format_args< Context >::get(), error_handler::on_error(), basic_string_view< Char >::size(), to_string(), vformat_to(), and visit_format_arg(). ◆ vformat_to() [1/2]
template<typename Char >
◆ vformat_to() [2/2]
template<typename Char >
Definition at line 473 of file color.h. References buffer< T >::append(), text_style::get_background(), text_style::get_emphasis(), text_style::get_foreground(), text_style::has_background(), text_style::has_emphasis(), text_style::has_foreground(), and vformat_to(). Referenced by format_to(), formatted_size(), vformat(), vformat(), vformat(), vformat(), vformat_to(), vformat_to(), vformat_to(), vformat_to(), vformat_to_n(), vprint(), vprint(), vprint(), and vprint(). ◆ vprint_mojibake() [1/2]
template<typename Char , typename Args , FMT_ENABLE_IF(!std::is_same< Char, char >::value) >
◆ vprint_mojibake() [2/2]
◆ vprintf()
template<typename Char , typename Context >
◆ write() [1/12]
template<typename Char >
Definition at line 2027 of file format.h. References get_container(), and write(). ◆ write() [2/12]
template<typename Char , typename OutputIt >
Definition at line 2020 of file format.h. References base_iterator(), reserve(), and write(). ◆ write() [3/12]
template<typename StrChar , typename Char , typename OutputIt >
Definition at line 1568 of file format.h. References code_point_index(), count_code_points(), basic_string_view< Char >::data(), basic_format_specs< Char >::precision, reserve(), basic_string_view< Char >::size(), to_unsigned(), basic_format_specs< Char >::width, write(), and write_padded(). Referenced by formatter< std::chrono::duration< Rep, Period >, Char >::format(), arg_formatter_base< OutputIt, Char, ErrorHandler >::operator()(), arg_formatter_base< OutputIt, Char, ErrorHandler >::operator()(), arg_formatter_base< OutputIt, Char, ErrorHandler >::operator()(), arg_formatter_base< OutputIt, Char, ErrorHandler >::operator()(), parse_format_string(), arg_formatter_base< OutputIt, Char, ErrorHandler >::write(), write(), arg_formatter_base< OutputIt, Char, ErrorHandler >::write(), write(), write(), write(), write(), write(), write(), write(), write(), write(), write(), write(), write_float(), and write_ptr(). ◆ write() [4/12]
template<typename Char , typename OutputIt >
◆ write() [5/12]
template<typename Char , typename OutputIt >
Definition at line 2061 of file format.h. References base_iterator(), reserve(), and write(). ◆ write() [6/12]
template<typename Char , typename OutputIt >
◆ write() [7/12]
template<typename Char , typename OutputIt , typename T >
◆ write() [8/12]
template<typename Char , typename OutputIt >
Definition at line 2079 of file format.h. References to_uintptr(), and write(). ◆ write() [9/12]
template<typename Char , typename OutputIt >
Definition at line 2006 of file format.h. References FMT_ASSERT, and write(). ◆ write() [10/12]
template<typename Char , typename OutputIt , FMT_ENABLE_IF(!std::is_same< Char, char >::value) >
Definition at line 2013 of file format.h. References base_iterator(), reserve(), and write(). ◆ write() [11/12]
template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(is_fast_float< T >::value) >
Definition at line 1946 of file format.h. References const_check(), is_supported_floating_point(), sign::minus, write(), write_float(), and write_nonfinite(). ◆ write() [12/12]
template<typename Char , typename OutputIt , typename T , FMT_ENABLE_IF(std::is_floating_point< T >::value) >
◆ write_buffer()
template<typename Char >
Definition at line 93 of file ostream.h. References buffer< T >::data(), buffer< T >::size(), and to_unsigned(). Referenced by vfprintf(), and vprint(). ◆ write_bytes()
template<typename Char , typename OutputIt >
Definition at line 1520 of file format.h. References reserve(), write_bytes(), and write_padded(). Referenced by formatter< bytes >::format(), and write_bytes(). ◆ write_char()
template<typename Char , typename OutputIt >
Definition at line 1977 of file format.h. References reserve(), write_char(), and write_padded(). Referenced by arg_formatter_base< OutputIt, Char, ErrorHandler >::char_spec_handler::on_char(), and write_char(). ◆ write_exponent()
template<typename Char , typename It >
Definition at line 1299 of file format.h. References exp, FMT_ASSERT, and write_exponent(). Referenced by write_exponent(). ◆ write_float()
template<typename OutputIt , typename DecimalFP , typename Char >
Definition at line 1800 of file format.h. References base_iterator(), decimal_point(), exp, float_specs::format, get_significand_size(), float_specs::precision, reserve(), float_specs::showpoint, float_specs::sign, to_unsigned(), float_specs::upper, basic_format_specs< Char >::width, write(), write_float(), and write_significand(). Referenced by write(), and write_float(). ◆ write_int()
template<typename OutputIt , typename Char , typename F >
Definition at line 1555 of file format.h. References reserve(), and write_int(). Referenced by int_writer< OutputIt, Char, UInt >::on_bin(), int_writer< OutputIt, Char, UInt >::on_dec(), int_writer< OutputIt, Char, UInt >::on_hex(), int_writer< OutputIt, Char, UInt >::on_oct(), arg_formatter_base< OutputIt, Char, ErrorHandler >::operator()(), and write_int(). ◆ write_nonfinite()
template<typename Char , typename OutputIt >
Definition at line 1719 of file format.h. References reserve(), float_specs::sign, float_specs::upper, write_nonfinite(), and write_padded(). Referenced by write(), and write_nonfinite(). ◆ write_padded() [1/2]
template<align::type align = align::left, typename OutputIt , typename Char , typename F >
Definition at line 1513 of file format.h. References write_padded(). ◆ write_padded() [2/2]
template<align::type align = align::left, typename OutputIt , typename Char , typename F >
Definition at line 1495 of file format.h. References basic_format_specs< Char >::align, base_iterator(), basic_format_specs< Char >::fill, fill(), align::left, reserve(), align::right, to_unsigned(), basic_format_specs< Char >::width, and write_padded(). Referenced by arg_formatter_base< OutputIt, Char, ErrorHandler >::write(), write(), write_bytes(), write_char(), write_nonfinite(), write_padded(), and write_padded(). ◆ write_ptr()
template<typename Char , typename OutputIt , typename UIntPtr >
Definition at line 1987 of file format.h. References base_iterator(), reserve(), to_unsigned(), write(), and write_ptr(). Referenced by write_ptr(). ◆ write_significand() [1/5]
template<typename Char , typename UInt , FMT_ENABLE_IF(std::is_integral< UInt >::value) >
Definition at line 1762 of file format.h. References decimal_point(), format_decimal(), and write_significand(). ◆ write_significand() [2/5]
template<typename Char , typename OutputIt >
Definition at line 1750 of file format.h. References write_significand(). Referenced by write_float(), write_significand(), write_significand(), write_significand(), write_significand(), and write_significand(). ◆ write_significand() [3/5]
template<typename OutputIt , typename Char >
Definition at line 1789 of file format.h. References decimal_point(), and write_significand(). ◆ write_significand() [4/5]
template<typename Char , typename OutputIt , typename UInt >
Definition at line 1755 of file format.h. References write_significand(). ◆ write_significand() [5/5]
template<typename OutputIt , typename UInt , typename Char , FMT_ENABLE_IF(!std::is_pointer< remove_cvref_t< OutputIt > >::value) >
Definition at line 1778 of file format.h. References decimal_point(), and write_significand(). Variable Documentation◆ basic_data< void >
|