|
template<typename... T> |
FMT_CONSTEXPR void | detail::ignore_unused (const T &...) |
|
constexpr FMT_INLINE auto | detail::is_constant_evaluated (bool default_value=false) noexcept -> bool |
|
template<typename T > |
constexpr FMT_INLINE auto | detail::const_check (T value) -> T |
|
FMT_FUNC void | detail::assert_fail (const char *file, int line, const char *message) |
|
template<typename T > |
auto | detail::convert_for_visit (T) -> monostate |
|
template<typename Int > |
FMT_CONSTEXPR auto | detail::to_unsigned (Int value) -> typename std::make_unsigned< Int >::type |
|
FMT_CONSTEXPR auto | detail::is_utf8 () -> bool |
|
template<typename Char , FMT_ENABLE_IF(is_char< Char >::value) > |
FMT_INLINE auto | detail::to_string_view (const Char *s) -> basic_string_view< Char > |
|
template<typename Char , typename Traits , typename Alloc > |
auto | detail::to_string_view (const std::basic_string< Char, Traits, Alloc > &s) -> basic_string_view< Char > |
|
template<typename Char > |
constexpr auto | detail::to_string_view (basic_string_view< Char > s) -> basic_string_view< Char > |
|
template<typename Char , FMT_ENABLE_IF(!std::is_empty< std_string_view< Char > >::value) > |
auto | detail::to_string_view (std_string_view< Char > s) -> basic_string_view< Char > |
|
template<typename S , FMT_ENABLE_IF(is_compile_string< S >::value) > |
constexpr auto | detail::to_string_view (const S &s) -> basic_string_view< typename S::char_type > |
|
void | detail::to_string_view (...) |
|
| detail::FMT_TYPE_CONSTANT (int, int_type) |
|
| detail::FMT_TYPE_CONSTANT (unsigned, uint_type) |
|
| detail::FMT_TYPE_CONSTANT (long long, long_long_type) |
|
| detail::FMT_TYPE_CONSTANT (unsigned long long, ulong_long_type) |
|
| detail::FMT_TYPE_CONSTANT (int128_opt, int128_type) |
|
| detail::FMT_TYPE_CONSTANT (uint128_opt, uint128_type) |
|
| detail::FMT_TYPE_CONSTANT (bool, bool_type) |
|
| detail::FMT_TYPE_CONSTANT (Char, char_type) |
|
| detail::FMT_TYPE_CONSTANT (float, float_type) |
|
| detail::FMT_TYPE_CONSTANT (double, double_type) |
|
| detail::FMT_TYPE_CONSTANT (long double, long_double_type) |
|
| detail::FMT_TYPE_CONSTANT (const Char *, cstring_type) |
|
| detail::FMT_TYPE_CONSTANT (basic_string_view< Char >, string_type) |
|
| detail::FMT_TYPE_CONSTANT (const void *, pointer_type) |
|
constexpr bool | detail::is_integral_type (type t) |
|
constexpr bool | detail::is_arithmetic_type (type t) |
|
constexpr auto | detail::set (type rhs) -> int |
|
constexpr auto | detail::in (type t, int set) -> bool |
|
FMT_FUNC void | detail::throw_format_error (const char *message) |
|
template<typename Container > |
auto | detail::get_container (std::back_insert_iterator< Container > it) -> Container & |
|
template<typename Char , typename InputIt , typename OutputIt > |
FMT_CONSTEXPR auto | detail::copy_str (InputIt begin, InputIt end, OutputIt out) -> OutputIt |
|
template<typename Char , typename T , typename U , FMT_ENABLE_IF( std::is_same< remove_const_t< T >, U >::value &&is_char< U >::value) > |
FMT_CONSTEXPR auto | detail::copy_str (T *begin, T *end, U *out) -> U * |
|
template<typename Context , typename T > |
constexpr auto | detail::has_const_formatter_impl (T *) -> decltype(typename Context::template formatter_type< T >().format(std::declval< const T & >(), std::declval< Context & >()), true) |
|
template<typename Context > |
constexpr auto | detail::has_const_formatter_impl (...) -> bool |
|
template<typename T , typename Context > |
constexpr auto | detail::has_const_formatter () -> bool |
|
template<typename T , typename OutputIt > |
auto | detail::get_buffer (OutputIt out) -> iterator_buffer< OutputIt, T > |
|
template<typename T , typename Buf , FMT_ENABLE_IF(std::is_base_of< buffer< char >, Buf >::value) > |
auto | detail::get_buffer (std::back_insert_iterator< Buf > out) -> buffer< char > & |
|
template<typename Buf , typename OutputIt > |
FMT_INLINE auto | detail::get_iterator (Buf &buf, OutputIt) -> decltype(buf.out()) |
|
template<typename T , typename OutputIt > |
auto | detail::get_iterator (buffer< T > &, OutputIt out) -> OutputIt |
|
template<typename Char > |
void | detail::init_named_args (named_arg_info< Char > *, int, int) |
|
template<typename Char , typename T , typename... Tail, FMT_ENABLE_IF(!is_named_arg< T >::value) > |
void | detail::init_named_args (named_arg_info< Char > *named_args, int arg_count, int named_arg_count, const T &, const Tail &... args) |
|
template<typename... Args> |
FMT_CONSTEXPR FMT_INLINE void | detail::init_named_args (std::nullptr_t, int, int, const Args &...) |
|
template<bool B = false> |
constexpr auto | detail::count () -> size_t |
|
template<bool B1, bool B2, bool... Tail> |
constexpr auto | detail::count () -> size_t |
|
template<typename... Args> |
constexpr auto | detail::count_named_args () -> size_t |
|
template<typename... Args> |
constexpr auto | detail::count_statically_named_args () -> size_t |
|
template<typename Char , typename InputIt > |
auto | detail::copy_str (InputIt begin, InputIt end, appender out) -> appender |
|
template<typename Char , typename InputIt > |
auto | detail::copy_str (InputIt begin, InputIt end, std::back_insert_iterator< std::string > out) -> std::back_insert_iterator< std::string > |
|
template<typename Char , typename R , typename OutputIt > |
FMT_CONSTEXPR auto | detail::copy_str (R &&rng, OutputIt out) -> OutputIt |
|
template<typename > |
constexpr auto | detail::encode_types () -> unsigned long long |
|
template<typename Context , typename Arg , typename... Args> |
constexpr auto | detail::encode_types () -> unsigned long long |
|
template<bool PACKED, typename Context , typename T , FMT_ENABLE_IF(PACKED) > |
FMT_CONSTEXPR FMT_INLINE auto | detail::make_arg (T &val) -> value< Context > |
|
template<typename Context , typename T > |
FMT_CONSTEXPR auto | detail::make_arg (T &val) -> basic_format_arg< Context > |
|
template<bool PACKED, typename Context , typename T , FMT_ENABLE_IF(!PACKED) > |
FMT_CONSTEXPR auto | detail::make_arg (T &val) -> basic_format_arg< Context > |
|
template<typename Visitor , typename Context > |
FMT_CONSTEXPR FMT_INLINE auto | visit_format_arg (Visitor &&vis, const basic_format_arg< Context > &arg) -> decltype(vis(0)) |
| \rst Visits an argument dispatching to the appropriate visit method based on the argument type. More...
|
|
template<typename Context = format_context, typename... T> |
constexpr auto | make_format_args (T &... args) -> format_arg_store< Context, remove_cvref_t< T >... > |
| \rst Constructs a ~fmtformat_arg_store object that contains references to arguments and can be implicitly converted to ~fmtformat_args . More...
|
|
template<typename Char , typename T > |
auto | arg (const Char *name, const T &arg) -> detail::named_arg< Char, T > |
| \rst Returns a named argument to be used in a formatting function. More...
|
|
enum type | align::FMT_ENUM_UNDERLYING_TYPE (unsigned char) |
|
enum type | sign::FMT_ENUM_UNDERLYING_TYPE (unsigned char) |
|
template<typename Char , FMT_ENABLE_IF(std::is_integral< Char >::value) > |
constexpr auto | detail::to_ascii (Char c) -> char |
|
template<typename Char > |
FMT_CONSTEXPR auto | detail::code_point_length (const Char *begin) -> int |
|
template<bool IS_CONSTEXPR, typename T , typename Ptr = const T*> |
FMT_CONSTEXPR auto | detail::find (Ptr first, Ptr last, T value, Ptr &out) -> bool |
|
template<> |
auto | detail::find< false, char > (const char *first, const char *last, char value, const char *&out) -> bool |
|
template<typename Char > |
FMT_CONSTEXPR auto | detail::parse_nonnegative_int (const Char *&begin, const Char *end, int error_value) noexcept -> int |
|
FMT_CONSTEXPR auto | detail::parse_align (char c) -> align_t |
|
template<typename Char > |
constexpr auto | detail::is_name_start (Char c) -> bool |
|
template<typename Char , typename Handler > |
FMT_CONSTEXPR auto | detail::do_parse_arg_id (const Char *begin, const Char *end, Handler &&handler) -> const Char * |
|
template<typename Char , typename Handler > |
FMT_CONSTEXPR FMT_INLINE auto | detail::parse_arg_id (const Char *begin, const Char *end, Handler &&handler) -> const Char * |
|
template<typename Char > |
FMT_CONSTEXPR auto | detail::parse_dynamic_spec (const Char *begin, const Char *end, int &value, arg_ref< Char > &ref, basic_format_parse_context< Char > &ctx) -> const Char * |
|
template<typename Char > |
FMT_CONSTEXPR auto | detail::parse_precision (const Char *begin, const Char *end, int &value, arg_ref< Char > &ref, basic_format_parse_context< Char > &ctx) -> const Char * |
|
template<typename Char > |
FMT_CONSTEXPR FMT_INLINE auto | detail::parse_format_specs (const Char *begin, const Char *end, dynamic_format_specs< Char > &specs, basic_format_parse_context< Char > &ctx, type arg_type) -> const Char * |
|
template<typename Char , typename Handler > |
FMT_CONSTEXPR auto | detail::parse_replacement_field (const Char *begin, const Char *end, Handler &&handler) -> const Char * |
|
template<bool IS_CONSTEXPR, typename Char , typename Handler > |
FMT_CONSTEXPR FMT_INLINE void | detail::parse_format_string (basic_string_view< Char > format_str, Handler &&handler) |
|
template<typename T , typename ParseContext > |
FMT_CONSTEXPR auto | detail::parse_format_specs (ParseContext &ctx) -> decltype(ctx.begin()) |
|
template<typename Char > |
FMT_CONSTEXPR auto | detail::check_char_specs (const format_specs< Char > &specs) -> bool |
|
template<typename... Args, typename Char > |
FMT_CONSTEXPR auto | detail::get_arg_index_by_name (basic_string_view< Char > name) -> int |
|
template<typename... , typename S , FMT_ENABLE_IF(!is_compile_string< S >::value) > |
FMT_INLINE void | detail::check_format_string (const S &) |
|
template<typename... Args, typename S , FMT_ENABLE_IF(is_compile_string< S >::value) > |
void | detail::check_format_string (S format_str) |
|
template<typename Char > |
void | detail::vformat_to (buffer< Char > &buf, basic_string_view< Char > fmt, typename vformat_args< Char >::type args, locale_ref loc) |
|
FMT_API void | detail::vprint_mojibake (std::FILE *, string_view, format_args) |
|
auto | runtime (string_view s) -> runtime_format_string<> |
| \rst Creates a runtime format string. More...
|
|
FMT_API auto | vformat (string_view fmt, format_args args) -> std::string |
|
template<typename... T> |
FMT_NODISCARD FMT_INLINE auto | format (format_string< T... > fmt, T &&... args) -> std::string |
| \rst Formats args according to specifications in fmt and returns the result as a string. More...
|
|
template<typename OutputIt , FMT_ENABLE_IF(detail::is_output_iterator< OutputIt, char >::value) > |
auto | vformat_to (OutputIt out, string_view fmt, format_args args) -> OutputIt |
| Formats a string and writes the output to out . More...
|
|
template<typename OutputIt , typename... T, FMT_ENABLE_IF(detail::is_output_iterator< OutputIt, char >::value) > |
FMT_INLINE auto | format_to (OutputIt out, format_string< T... > fmt, T &&... args) -> OutputIt |
| \rst Formats args according to specifications in fmt , writes the result to the output iterator out and returns the iterator past the end of the output range. More...
|
|
template<typename OutputIt , typename... T, FMT_ENABLE_IF(detail::is_output_iterator< OutputIt, char >::value) > |
auto | vformat_to_n (OutputIt out, size_t n, string_view fmt, format_args args) -> format_to_n_result< OutputIt > |
|
template<typename OutputIt , typename... T, FMT_ENABLE_IF(detail::is_output_iterator< OutputIt, char >::value) > |
FMT_INLINE auto | format_to_n (OutputIt out, size_t n, format_string< T... > fmt, T &&... args) -> format_to_n_result< OutputIt > |
| \rst Formats args according to specifications in fmt , writes up to n characters of the result to the output iterator out and returns the total (not truncated) output size and the iterator past the end of the output range. More...
|
|
template<typename... T> |
FMT_NODISCARD FMT_INLINE auto | formatted_size (format_string< T... > fmt, T &&... args) -> size_t |
| Returns the number of chars in the output of format(fmt, args...) . More...
|
|
FMT_API void | vprint (string_view fmt, format_args args) |
|
FMT_API void | vprint (std::FILE *f, string_view fmt, format_args args) |
|
template<typename... T> |
FMT_INLINE void | print (format_string< T... > fmt, T &&... args) |
| \rst Formats args according to specifications in fmt and writes the output to stdout . More...
|
|
template<typename... T> |
FMT_INLINE void | print (std::FILE *f, format_string< T... > fmt, T &&... args) |
| \rst Formats args according to specifications in fmt and writes the output to the file f . More...
|
|
template<typename... T> |
FMT_INLINE void | println (std::FILE *f, format_string< T... > fmt, T &&... args) |
| Formats args according to specifications in fmt and writes the output to the file f followed by a newline. More...
|
|
template<typename... T> |
FMT_INLINE void | println (format_string< T... > fmt, T &&... args) |
| Formats args according to specifications in fmt and writes the output to stdout followed by a newline. More...
|
|