|
| template<typename T > |
| FMT_CONSTEXPR const T * | internal::pointer_from (const T *p) |
| |
| template<typename Char > |
| FMT_CONSTEXPR const Char * | internal::pointer_from (null_terminating_iterator< Char > it) |
| |
| template<typename Iterator , typename ErrorHandler > |
| FMT_CONSTEXPR unsigned | internal::parse_nonnegative_int (Iterator &it, ErrorHandler &&eh) |
| |
| template<typename T , typename Context , typename Char > |
| void | internal::convert_arg (basic_format_arg< Context > &arg, Char type) |
| |
| template<typename Char , typename Context > |
| void | internal::printf (basic_buffer< Char > &buf, basic_string_view< Char > format, basic_format_args< Context > args) |
| |
| template<typename... Args> |
| format_arg_store< printf_context, Args... > | make_printf_args (const Args &...args) |
| |
| template<typename... Args> |
| format_arg_store< wprintf_context, Args... > | make_wprintf_args (const Args &...args) |
| |
| template<typename S , typename Char = FMT_CHAR(S)> |
| std::basic_string< Char > | vsprintf (const S &format, basic_format_args< typename basic_printf_context_t< internal::basic_buffer< Char >>::type > args) |
| |
| template<typename S , typename... Args> |
| | FMT_ENABLE_IF_T (internal::is_string< S >::value, std::basic_string< FMT_CHAR(S)>) sprintf(const S &format |
| |
| return | vsprintf (to_string_view(format), basic_format_args< context >(as)) |
| |
| template<typename S , typename Char = FMT_CHAR(S)> |
| int | vfprintf (std::FILE *f, const S &format, basic_format_args< typename basic_printf_context_t< internal::basic_buffer< Char >>::type > args) |
| |
| template<typename S , typename... Args> |
| | FMT_ENABLE_IF_T (internal::is_string< S >::value, int) fprintf(std |
| |
| template<typename S , typename Char = FMT_CHAR(S)> |
| int | vprintf (const S &format, basic_format_args< typename basic_printf_context_t< internal::basic_buffer< Char >>::type > args) |
| |
| return | vprintf (to_string_view(format_str), basic_format_args< context >(as)) |
| |
| template<typename S , typename Char = FMT_CHAR(S)> |
| int | vfprintf (std::basic_ostream< Char > &os, const S &format, basic_format_args< typename basic_printf_context_t< internal::basic_buffer< Char >>::type > args) |
| |
template<typename S , typename... Args>
Prints formatted data to the file f.
Example**::
fmt::fprintf(stderr, "Don't %s!", "panic");
Prints formatted data to stdout.
Example**::
fmt::printf("Elapsed time: %.2f seconds", 1.23);
Prints formatted data to the stream os.
Example**::
fmt::fprintf(cerr, "Don't %s!", "panic");
Definition at line 785 of file printf.h.
basic_printf_context_t< buffer >::type context
std::enable_if<!is_compile_string< S >::value >::type check_format_string(const S &)
internal::basic_buffer< FMT_CHAR(S)> buffer
string_view_t & to_string_view(spdlog::level::level_enum l) SPDLOG_NOEXCEPT
int vfprintf(std::FILE *f, const S &format, basic_format_args< typename basic_printf_context_t< internal::basic_buffer< Char >>::type > args)
format_arg_store< context, Args... > as