|
Loading...
Searching...
No Matches
#include <ostream>
#include "format.h"
Go to the source code of this file.
|
template<typename Char , typename Traits > |
void_t | operator<< (std::basic_ostream< Char, Traits > &, Char) |
|
template<typename Char , typename Traits > |
void_t | operator<< (std::basic_ostream< Char, Traits > &, char) |
|
template<typename Traits > |
void_t | operator<< (std::basic_ostream< char, Traits > &, char) |
|
template<typename Traits > |
void_t | operator<< (std::basic_ostream< char, Traits > &, signed char) |
|
template<typename Traits > |
void_t | operator<< (std::basic_ostream< char, Traits > &, unsigned char) |
|
template<typename Char > |
void | write_buffer (std::basic_ostream< Char > &os, buffer< Char > &buf) |
|
template<typename Char , typename T > |
void | format_value (buffer< Char > &buf, const T &value, locale_ref loc=locale_ref()) |
|
template<typename Char > |
void | vprint (std::basic_ostream< Char > &os, basic_string_view< Char > format_str, basic_format_args< buffer_context< type_identity_t< Char > > > args) |
|
template<typename S , typename... Args, typename Char = enable_if_t<detail::is_string<S>::value, char_t<S>>> |
void | print (std::basic_ostream< Char > &os, const S &format_str, Args &&... args) |
|
◆ print()
template<typename S , typename... Args, typename Char = enable_if_t<detail::is_string<S>::value, char_t<S>>>
void print |
( |
std::basic_ostream< Char > & | os, |
|
|
const S & | format_str, |
|
|
Args &&... | args ) |
\rst Prints formatted data to the stream os.
Example**::
fmt::print(cerr, "Don't {}!", "panic"); \endrst
Definition at line 171 of file ostream.h.
References to_string_view(), and vprint().
◆ vprint()
|