|
Rosetta
|
Namespaces | |
| detail | |
Functions | |
| template<typename Char , typename Traits > | |
| void_t | detail::operator<< (std::basic_ostream< Char, Traits > &, Char) |
| template<typename Char , typename Traits > | |
| void_t | detail::operator<< (std::basic_ostream< Char, Traits > &, char) |
| template<typename Traits > | |
| void_t | detail::operator<< (std::basic_ostream< char, Traits > &, char) |
| template<typename Traits > | |
| void_t | detail::operator<< (std::basic_ostream< char, Traits > &, signed char) |
| template<typename Traits > | |
| void_t | detail::operator<< (std::basic_ostream< char, Traits > &, unsigned char) |
| template<typename Char > | |
| void | detail::write_buffer (std::basic_ostream< Char > &os, buffer< Char > &buf) |
| template<typename Char , typename T > | |
| void | detail::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) |
| 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
References find_lowest_scoring_relaxed_struct::args, to_string_view(), and vprint().
| void vprint | ( | std::basic_ostream< Char > & | os, |
| basic_string_view< Char > | format_str, | ||
| basic_format_args< buffer_context< type_identity_t< Char >>> | args | ||
| ) |
References find_lowest_scoring_relaxed_struct::args, detail::vformat_to(), and detail::write_buffer().
Referenced by print().