#include <cstdio>
#include <cstring>
#include <functional>
#include <iterator>
#include <memory>
#include <string>
#include <type_traits>
#include <vector>
Go to the source code of this file.
Namespaces | |
detail | |
Typedefs | |
template<bool B, class T = void> | |
using | enable_if_t = typename std::enable_if< B, T >::type |
template<bool B, class T , class F > | |
using | conditional_t = typename std::conditional< B, T, F >::type |
template<bool B> | |
using | bool_constant = std::integral_constant< bool, B > |
template<typename T > | |
using | remove_reference_t = typename std::remove_reference< T >::type |
template<typename T > | |
using | remove_const_t = typename std::remove_const< T >::type |
template<typename T > | |
using | remove_cvref_t = typename std::remove_cv< remove_reference_t< T > >::type |
template<typename T > | |
using | type_identity_t = typename type_identity< T >::type |
using | string_view = basic_string_view< char > |
using | wstring_view = basic_string_view< wchar_t > |
template<typename S > | |
using | char_t = typename detail::char_t_impl< S >::type |
using | format_parse_context = basic_format_parse_context< char > |
using | wformat_parse_context = basic_format_parse_context< wchar_t > |
template<typename T , typename Context > | |
using | has_formatter = std::is_constructible< typename Context::template formatter_type< T > > |
template<typename T , typename Context > | |
using | has_fallback_formatter = std::is_constructible< fallback_formatter< T, typename Context::char_type > > |
using | long_type = conditional_t< long_short, int, long long > |
using | ulong_type = conditional_t< long_short, unsigned, unsigned long long > |
template<typename T , typename Context > | |
using | mapped_type_constant = type_constant< decltype(arg_mapper< Context >().map(std::declval< const T & >())), typename Context::char_type > |
template<typename... Ts> | |
using | void_t = typename detail::void_t_impl< Ts... >::type |
template<typename Char > | |
using | buffer_context = basic_format_context< detail::buffer_appender< Char >, Char > |
using | format_context = buffer_context< char > |
using | wformat_context = buffer_context< wchar_t > |
Enumerations | |
enum | char8_type : unsigned char |
enum | type { none_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 = 4 } |
enum | { max_packed_args = 62 / packed_arg_bits } |
enum | : unsigned long long { is_unpacked_bit = 1ULL << 63 } |
enum | : unsigned long long { has_named_args_bit = 1ULL << 62 } |
Functions | |
template<typename T > | |
constexpr T | const_check (T value) |
FMT_NORETURN FMT_API void | assert_fail (const char *file, int line, const char *message) |
template<typename Int > | |
FMT_CONSTEXPR std::make_unsigned< Int >::type | to_unsigned (Int value) |
FMT_SUPPRESS_MSC_WARNING (4566) const expr unsigned char micro[] | |
template<typename Char > | |
constexpr bool | is_unicode () |
template<typename Char , FMT_ENABLE_IF(is_char< Char >::value) > | |
basic_string_view< Char > | to_string_view (const Char *s) |
template<typename Char , typename Traits , typename Alloc > | |
basic_string_view< Char > | to_string_view (const std::basic_string< Char, Traits, Alloc > &s) |
template<typename Char > | |
basic_string_view< Char > | to_string_view (basic_string_view< Char > s) |
template<typename Char , FMT_ENABLE_IF(!std::is_empty< detail::std_string_view< Char >>::value) > | |
basic_string_view< Char > | to_string_view (detail::std_string_view< Char > s) |
template<typename S , FMT_ENABLE_IF(is_compile_string< S >::value) > | |
constexpr basic_string_view< typename S::char_type > | to_string_view (const S &s) |
void | to_string_view (...) |
template<typename... , typename S , FMT_ENABLE_IF(!is_compile_string< S >::value) > | |
FMT_INLINE void | check_format_string (const S &) |
template<typename... , typename S , FMT_ENABLE_IF(is_compile_string< S >::value) > | |
void | check_format_string (S) |
template<typename Container > | |
Container & | get_container (std::back_insert_iterator< Container > it) |
template<typename T , typename OutputIt > | |
iterator_buffer< OutputIt, T > | get_buffer (OutputIt) |
template<typename T > | |
buffer< T > & | get_buffer (buffer_appender< T >) |
template<typename OutputIt > | |
OutputIt | get_buffer_init (OutputIt out) |
template<typename T > | |
buffer< T > & | get_buffer_init (buffer_appender< T > out) |
template<typename Buffer > | |
auto | get_iterator (Buffer &buf) -> decltype(buf.out()) |
template<typename T > | |
buffer_appender< T > | get_iterator (buffer< T > &buf) |
template<typename Char > | |
void | init_named_args (named_arg_info< Char > *, int, int) |
template<typename Char , typename T , typename... Tail> | |
void | init_named_args (named_arg_info< Char > *named_args, int arg_count, int named_arg_count, const T &, const Tail &... args) |
template<typename Char , typename T , typename... Tail> | |
void | init_named_args (named_arg_info< Char > *named_args, int arg_count, int named_arg_count, const named_arg< Char, T > &arg, const Tail &... args) |
template<typename... Args> | |
FMT_INLINE void | init_named_args (std::nullptr_t, int, int, const Args &...) |
template<bool B = false> | |
constexpr size_t | count () |
template<bool B1, bool B2, bool... Tail> | |
constexpr size_t | count () |
template<typename... Args> | |
constexpr size_t | count_named_args () |
FMT_TYPE_CONSTANT (int, int_type) | |
FMT_TYPE_CONSTANT (unsigned, uint_type) | |
FMT_TYPE_CONSTANT (long long, long_long_type) | |
FMT_TYPE_CONSTANT (unsigned long long, ulong_long_type) | |
FMT_TYPE_CONSTANT (int128_t, int128_type) | |
FMT_TYPE_CONSTANT (uint128_t, uint128_type) | |
FMT_TYPE_CONSTANT (bool, bool_type) | |
FMT_TYPE_CONSTANT (Char, char_type) | |
FMT_TYPE_CONSTANT (float, float_type) | |
FMT_TYPE_CONSTANT (double, double_type) | |
FMT_TYPE_CONSTANT (long double, long_double_type) | |
FMT_TYPE_CONSTANT (const Char *, cstring_type) | |
FMT_TYPE_CONSTANT (basic_string_view< Char >, string_type) | |
FMT_TYPE_CONSTANT (const void *, pointer_type) | |
constexpr bool | is_integral_type (type t) |
constexpr bool | is_arithmetic_type (type t) |
template<typename Context , typename T > | |
FMT_CONSTEXPR basic_format_arg< Context > | make_arg (const T &value) |
template<typename Visitor , typename Context > | |
FMT_CONSTEXPR_DECL FMT_INLINE auto | visit_format_arg (Visitor &&vis, const basic_format_arg< Context > &arg) -> decltype(vis(0)) |
template<typename > | |
constexpr unsigned long long | encode_types () |
template<typename Context , typename Arg , typename... Args> | |
constexpr unsigned long long | encode_types () |
template<typename T > | |
int | check (unformattable) |
template<typename T , typename U > | |
const U & | check (const U &val) |
template<bool IS_PACKED, typename Context , type , typename T , FMT_ENABLE_IF(IS_PACKED) > | |
value< Context > | make_arg (const T &val) |
template<bool IS_PACKED, typename Context , type , typename T , FMT_ENABLE_IF(!IS_PACKED) > | |
basic_format_arg< Context > | make_arg (const T &value) |
template<typename T > | |
const T & | unwrap (const T &v) |
template<typename T > | |
const T & | unwrap (const std::reference_wrapper< T > &v) |
template<typename Context = format_context, typename... Args> | |
format_arg_store< Context, Args... > | make_format_args (const Args &... args) |
template<typename... Args, typename S , typename Char = char_t<S>> | |
auto | make_args_checked (const S &format_str, const remove_reference_t< Args > &... args) -> format_arg_store< buffer_context< Char >, remove_reference_t< Args >... > |
template<typename Char , typename T > | |
detail::named_arg< Char, T > | arg (const Char *name, const T &arg) |
template<typename Char , FMT_ENABLE_IF(!std::is_same< Char, char >::value) > | |
std::basic_string< Char > | vformat (basic_string_view< Char > format_str, basic_format_args< buffer_context< type_identity_t< Char >>> args) |
FMT_API std::string | vformat (string_view format_str, format_args args) |
template<typename Char > | |
void | vformat_to (buffer< Char > &buf, basic_string_view< Char > format_str, basic_format_args< FMT_BUFFER_CONTEXT(type_identity_t< Char >)> args, detail::locale_ref loc={}) |
template<typename Char , typename Args , FMT_ENABLE_IF(!std::is_same< Char, char >::value) > | |
void | vprint_mojibake (std::FILE *, basic_string_view< Char >, const Args &) |
FMT_API void | vprint_mojibake (std::FILE *, string_view, format_args) |
template<typename OutputIt , typename S , typename Char = char_t<S>, bool enable = detail::is_output_iterator<OutputIt, Char>::value> | |
auto | vformat_to (OutputIt out, const S &format_str, basic_format_args< buffer_context< type_identity_t< Char >>> args) -> typename std::enable_if< enable, OutputIt >::type |
template<typename OutputIt , typename S , typename... Args, bool enable = detail::is_output_iterator<OutputIt, char_t<S>>::value> | |
auto | format_to (OutputIt out, const S &format_str, Args &&... args) -> typename std::enable_if< enable, OutputIt >::type |
template<typename OutputIt , typename Char , typename... Args, FMT_ENABLE_IF(detail::is_output_iterator< OutputIt, Char >::value) > | |
format_to_n_result< OutputIt > | vformat_to_n (OutputIt out, size_t n, basic_string_view< Char > format_str, basic_format_args< buffer_context< type_identity_t< Char >>> args) |
template<typename OutputIt , typename S , typename... Args, bool enable = detail::is_output_iterator<OutputIt, char_t<S>>::value> | |
auto | format_to_n (OutputIt out, size_t n, const S &format_str, const Args &... args) -> typename std::enable_if< enable, format_to_n_result< OutputIt >>::type |
template<typename... Args> | |
size_t | formatted_size (string_view format_str, Args &&... args) |
template<typename S , typename Char = char_t<S>> | |
FMT_INLINE std::basic_string< Char > | vformat (const S &format_str, basic_format_args< buffer_context< type_identity_t< Char >>> args) |
template<typename S , typename... Args, typename Char = char_t<S>> | |
FMT_INLINE std::basic_string< Char > | format (const S &format_str, Args &&... args) |
FMT_API void | vprint (string_view, format_args) |
FMT_API void | vprint (std::FILE *, string_view, format_args) |
template<typename S , typename... Args, typename Char = char_t<S>> | |
void | print (std::FILE *f, const S &format_str, Args &&... args) |
template<typename S , typename... Args, typename Char = char_t<S>> | |
void | print (const S &format_str, Args &&... args) |
#define FMT_API |
Definition at line 222 of file core.h.
Referenced by buffered_file::buffered_file(), detail::const_check(), detail::decimal_point_impl(), detail::digits10< uint128_t >(), system_error::error_code(), format(), error_code::get(), buffered_file::get(), detail::grouping< wchar_t >(), buffered_file::operator=(), buffered_file::print(), detail::thousands_sep(), to_string(), and detail::vprint_mojibake().
#define FMT_ASSERT | ( | condition, | |
message | |||
) |
Definition at line 292 of file core.h.
Referenced by cache_accessor< float >::compute_mul_parity(), cache_accessor< double >::compute_mul_parity(), detail::dragonbox::divisible_by_power_of_2(), detail::dragonbox::divisible_by_power_of_5(), bigint::divmod_assign(), detail::dragonbox::floor_log10_pow2(), detail::dragonbox::floor_log10_pow2_minus_log10_4_over_3(), detail::dragonbox::floor_log2_pow10(), detail::format_decimal(), detail::format_float(), text_style::get_background(), cache_accessor< float >::get_cached_power(), cache_accessor< double >::get_cached_power(), text_style::get_emphasis(), text_style::get_foreground(), detail::get_round_direction(), detail::grisu_gen_digits(), fixed_handler::on_digit(), arg_formatter_base< OutputIt, Char >::operator()(), bigint::operator*=(), basic_memory_buffer< wchar_t >::operator=(), formatter< T, Char, enable_if_t< detail::type_constant< T, Char >::value !=detail::type::custom_type > >::parse(), detail::parse_align(), detail::parse_arg_id(), detail::parse_nonnegative_int(), detail::parse_width(), dynamic_format_arg_store< Context >::reserve(), detail::safe_strerror(), detail::dragonbox::small_division_by_pow10(), detail::snprintf_float(), bigint::subtract_aligned(), detail::to_nonnegative_int(), detail::to_unsigned(), detail::write(), and detail::write_exponent().
#define FMT_BEGIN_NAMESPACE |
Definition at line 203 of file core.h.
Referenced by strerror_s().
#define FMT_BUFFER_CONTEXT | ( | Char | ) | basic_format_context<detail::buffer_appender<Char>, Char> |
#define FMT_CLANG_VERSION 0 |
Definition at line 26 of file core.h.
Referenced by detail::make_checked().
#define FMT_CONSTEXPR inline |
Definition at line 98 of file core.h.
Referenced by basic_string_view< char >::basic_string_view(), detail::compile_to_parts(), value< basic_format_context >::format_custom_arg(), detail::format_str_quoted(), detail::is_negative(), safe_duration_cast::lossless_integral_conversion(), detail::parse_format_string(), safe_duration_cast::safe_float_conversion(), and vprint().
#define FMT_CONSTEXPR_DECL |
Definition at line 99 of file core.h.
Referenced by detail::check_format_string(), compiled_format_base< S, enable_if_t< is_compile_string< S >::value > >::compiled_format_base(), compiled_format_base< S, enable_if_t< is_compile_string< S >::value > >::parts(), text_style::text_style(), and vprint().
typedef basic_format_args< buffer_context< Char > > FMT_DEPRECATED_ALIAS FMT_DEPRECATED |
#define FMT_ENABLE_IF | ( | ... | ) | enable_if_t<(__VA_ARGS__), int> = 0 |
Definition at line 277 of file core.h.
Referenced by basic_string_view< char >::basic_string_view(), detail::check(), detail::check_format_string(), compile(), compiled_format< S, Args >::compiled_format(), detail::copy_str(), detail::fmt_safe_duration_cast(), format(), detail::format_decimal(), detail::format_str_quoted(), format_to(), format_to_n(), detail::get_milliseconds(), safe_duration_cast::lossless_integral_conversion(), detail::make_arg(), arg_mapper< Context >::map(), fallback_formatter< T, Char, enable_if_t< is_streamable< T, Char >::value > >::parse(), print(), safe_duration_cast::safe_duration_cast(), safe_duration_cast::safe_float_conversion(), to_string_view(), vprint(), vprintf(), detail::write(), detail::write_float(), and detail::write_significand().
#define FMT_END_NAMESPACE |
Definition at line 198 of file core.h.
Referenced by formatter< std::chrono::duration< Rep, Period >, Char >::format(), format_to(), formatted_size(), fprintf(), join(), buffered_file::print(), print(), and vprint().
#define FMT_HAS_CPP14_ATTRIBUTE | ( | attribute | ) | (__cplusplus >= 201402L && FMT_HAS_CPP_ATTRIBUTE(attribute)) |
#define FMT_HAS_CPP17_ATTRIBUTE | ( | attribute | ) | (__cplusplus >= 201703L && FMT_HAS_CPP_ATTRIBUTE(attribute)) |
#define FMT_NOEXCEPT FMT_DETECTED_NOEXCEPT |
Definition at line 137 of file core.h.
Referenced by buffered_file::buffered_file(), detail::decimal_point_impl(), system_error::error_code(), format_error::format_error(), error_code::get(), buffered_file::print(), system_error::system_error(), and text_style::text_style().
#define FMT_NORETURN |
Definition at line 149 of file core.h.
Referenced by detail::const_check().
#define FMT_OVERRIDE |
Definition at line 107 of file core.h.
Referenced by basic_memory_buffer< wchar_t >::deallocate(), format_error::format_error(), and system_error::system_error().
#define FMT_SUPPRESS_MSC_WARNING | ( | n | ) |
Definition at line 58 of file core.h.
Referenced by detail::to_unsigned().
#define FMT_TYPE_CONSTANT | ( | Type, | |
constant | |||
) |
#define FMT_UNICODE !FMT_MSC_VER |
Definition at line 249 of file core.h.
Referenced by detail::is_unicode().
#define FMT_USE_CONSTEXPR |
using bool_constant = std::integral_constant<bool, B> |
using buffer_context = basic_format_context<detail::buffer_appender<Char>, Char> |
using char_t = typename detail::char_t_impl<S>::type |
using conditional_t = typename std::conditional<B, T, F>::type |
using enable_if_t = typename std::enable_if<B, T>::type |
using format_context = buffer_context<char> |
using format_parse_context = basic_format_parse_context<char> |
using has_formatter = std::is_constructible<typename Context::template formatter_type<T> > |
using remove_const_t = typename std::remove_const<T>::type |
using remove_cvref_t = typename std::remove_cv<remove_reference_t<T> >::type |
using remove_reference_t = typename std::remove_reference<T>::type |
using string_view = basic_string_view<char> |
using type_identity_t = typename type_identity<T>::type |
using wformat_context = buffer_context<wchar_t> |
using wformat_parse_context = basic_format_parse_context<wchar_t> |
using wstring_view = basic_string_view<wchar_t> |
detail::named_arg<Char, T> arg | ( | const Char * | name, |
const T & | arg | ||
) |
Returns a named argument to be used in a formatting function. It should only be used in a call to a formatting function.
Example**::
fmt::print("Elapsed time: {s:.2f} seconds", fmt::arg("s", 1.23));
Definition at line 1640 of file core.h.
Referenced by compiled_format< S, Args >::compiled_format(), basic_printf_context< OutputIt, Char >::format(), basic_format_args< basic_format_context >::get(), detail::get_arg(), detail::make_arg(), format_handler< OutputIt, Char, Context >::on_format_specs(), format_handler< OutputIt, Char, Context >::on_replacement_field(), dynamic_arg_list::push(), dynamic_format_arg_store< Context >::push_back(), to_string(), detail::vformat(), detail::cf::vformat_to(), and visit_format_arg().
FMT_INLINE std::basic_string<Char> format | ( | const S & | format_str, |
Args &&... | args | ||
) |
Formats arguments and returns the result as a string.
Example**::
#include <fmt/core.h> std::string message = fmt::format("The answer is {}", 42);
Definition at line 2074 of file core.h.
References FMT_API, make_args_checked(), to_string_view(), detail::vformat(), and vprint().
auto format_to | ( | OutputIt | out, |
const S & | format_str, | ||
Args &&... | args | ||
) | -> typename std::enable_if<enable, OutputIt>::type |
Formats arguments, writes the result to the output iterator out
and returns the iterator past the end of the output range.
Example**::
std::vector<char> out; fmt::format_to(std::back_inserter(out), "{}", 42);
Definition at line 2002 of file core.h.
References make_args_checked(), to_string_view(), and vformat_to().
auto format_to_n | ( | OutputIt | out, |
size_t | n, | ||
const S & | format_str, | ||
const Args &... | args | ||
) | -> typename std::enable_if<enable, format_to_n_result<OutputIt>>::type |
Formats arguments, writes up to n
characters of the result to the output iterator out
and returns the total output size and the iterator past the end of the output range.
Definition at line 2035 of file core.h.
References make_args_checked(), to_string_view(), and vformat_to_n().
size_t formatted_size | ( | string_view | format_str, |
Args &&... | args | ||
) |
Returns the number of characters in the output of format(format_str, args...)
.
Definition at line 2047 of file core.h.
References counting_buffer< T >::count(), make_args_checked(), and detail::vformat_to().
auto make_args_checked | ( | const S & | format_str, |
const remove_reference_t< Args > &... | args | ||
) | -> format_arg_store<buffer_context<Char>, remove_reference_t<Args>...> |
Constructs a ~fmtformat_arg_store
object that contains references to arguments and can be implicitly converted to ~fmtformat_args
. If format_str
is a compile-time string then make_args_checked
checks its validity at compile time.
Definition at line 1617 of file core.h.
References detail::check_format_string(), and detail::count().
Referenced by format(), format_to(), format_to_n(), formatted_size(), and print().
format_arg_store<Context, Args...> make_format_args | ( | const Args &... | args | ) |
Constructs a ~fmtformat_arg_store
object that contains references to arguments and can be implicitly converted to ~fmtformat_args
. Context
can be omitted in which case it defaults to ~fmt::context
. See ~fmtarg
for lifetime considerations.
Definition at line 1603 of file core.h.
Referenced by error_code::get(), buffered_file::print(), and system_error::system_error().
void print | ( | std::FILE * | f, |
const S & | format_str, | ||
Args &&... | args | ||
) |
Formats args
according to specifications in format_str
and writes the output to the file f
. Strings are assumed to be Unicode-encoded unless the FMT_UNICODE
macro is set to 0.
Example**::
fmt::print(stderr, "Don't {}!", "panic");
Definition at line 2094 of file core.h.
References make_args_checked(), to_string_view(), vprint(), and detail::vprint_mojibake().
void print | ( | const S & | format_str, |
Args &&... | args | ||
) |
Formats args
according to specifications in format_str
and writes the output to stdout
. Strings are assumed to be Unicode-encoded unless the FMT_UNICODE
macro is set to 0.
Example**::
fmt::print("Elapsed time: {0:.2f} seconds", 1.23);
Definition at line 2113 of file core.h.
References FMT_END_NAMESPACE, make_args_checked(), to_string_view(), vprint(), and detail::vprint_mojibake().
basic_string_view<Char> to_string_view | ( | const Char * | s | ) |
Returns a string view of s
. In order to add custom string type support to {fmt} provide an overload of to_string_view
for it in the same namespace as the type for the argument-dependent lookup to work.
Example**::
namespace my_ns { inline string_view to_string_view(const my_string& s) { return {s.data(), s.length()}; } } std::string message = fmt::format(my_string("The answer is {}"), 42);
Definition at line 468 of file core.h.
Referenced by format(), format_to(), format_to_n(), arg_mapper< Context >::map(), print(), to_string_view(), vformat(), vformat_to(), and vprint().
basic_string_view<Char> to_string_view | ( | const std::basic_string< Char, Traits, Alloc > & | s | ) |
basic_string_view<Char> to_string_view | ( | basic_string_view< Char > | s | ) |
Definition at line 479 of file core.h.
References FMT_ENABLE_IF.
basic_string_view<Char> to_string_view | ( | detail::std_string_view< Char > | s | ) |
constexpr basic_string_view<typename S::char_type> to_string_view | ( | const S & | s | ) |
Definition at line 497 of file core.h.
References to_string_view().
FMT_INLINE std::basic_string<Char> vformat | ( | const S & | format_str, |
basic_format_args< buffer_context< type_identity_t< Char >>> | args | ||
) |
Definition at line 2055 of file core.h.
References to_string_view(), and detail::vformat().
auto vformat_to | ( | OutputIt | out, |
const S & | format_str, | ||
basic_format_args< buffer_context< type_identity_t< Char >>> | args | ||
) | -> typename std::enable_if<enable, OutputIt>::type |
Formats a string and writes the output to out
.
Definition at line 1980 of file core.h.
References detail::get_buffer_init(), detail::get_iterator(), to_string_view(), and detail::vformat_to().
Referenced by format_to().
format_to_n_result<OutputIt> vformat_to_n | ( | OutputIt | out, |
size_t | n, | ||
basic_string_view< Char > | format_str, | ||
basic_format_args< buffer_context< type_identity_t< Char >>> | args | ||
) |
Definition at line 2017 of file core.h.
References iterator_buffer< OutputIt, T, Traits >::count(), iterator_buffer< OutputIt, T, Traits >::out(), and detail::vformat_to().
Referenced by format_to_n().
FMT_CONSTEXPR_DECL FMT_INLINE auto visit_format_arg | ( | Visitor && | vis, |
const basic_format_arg< Context > & | arg | ||
) | -> decltype(vis(0)) |
Visits an argument dispatching to the appropriate visit method based on the argument type. For example, if the argument type is double
then vis(value)
will be called with the value of type double
.
Definition at line 1310 of file core.h.
References arg(), detail::bool_type, detail::char_type, detail::cstring_type, detail::custom_type, detail::double_type, detail::float_type, detail::int128_type, detail::int_type, detail::long_double_type, detail::long_long_type, detail::none_type, detail::pointer_type, detail::string_type, detail::uint128_type, detail::uint_type, and detail::ulong_long_type.
Referenced by detail::convert_arg(), basic_printf_context< OutputIt, Char >::format(), formatter< T, Char, enable_if_t< detail::type_constant< T, Char >::value !=detail::type::custom_type > >::format(), dynamic_formatter< Char >::format(), detail::format_arg(), detail::get_dynamic_spec(), format_handler< OutputIt, Char, Context >::on_format_specs(), format_handler< OutputIt, Char, Context >::on_replacement_field(), basic_printf_context< OutputIt, Char >::parse_header(), to_string(), detail::vformat(), and detail::cf::vformat_to().
FMT_API void vprint | ( | string_view | , |
format_args | |||
) |
Definition at line 2795 of file format-inl.h.
References FMT_END_NAMESPACE, and vprint().
FMT_API void vprint | ( | std::FILE * | , |
string_view | , | ||
format_args | |||
) |
Definition at line 2764 of file format-inl.h.
References utf8_to_utf16::c_str(), buffer< T >::data(), FMT_FUNC, FMT_THROW, detail::fwrite_fully(), buffer< T >::size(), utf8_to_utf16::size(), detail::vformat_to(), and detail::vprint_mojibake().
Referenced by vprint().