HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ostream.h File Reference
#include <ostream>
#include "format.h"
+ Include dependency graph for ostream.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  basic_printf_parse_context< Char >
 
class  basic_printf_context< OutputIt, Char >
 
class  detail::formatbuf< Char >
 
struct  detail::converter
 
struct  detail::test_stream< Char >
 
class  detail::is_streamable< T, Char >
 
struct  detail::fallback_formatter< T, Char, enable_if_t< is_streamable< T, Char >::value > >
 

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 >
FMT_MODULE_EXPORT 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>>>
FMT_MODULE_EXPORT void print (std::basic_ostream< Char > &os, const S &format_str, Args &&...args)
 

Function Documentation

template<typename S , typename... Args, typename Char = enable_if_t<detail::is_string<S>::value, char_t<S>>>
FMT_MODULE_EXPORT void print ( std::basic_ostream< Char > &  os,
const S &  format_str,
Args &&...  args 
)

Prints formatted data to the stream os.

Example**::

fmt::print(cerr, "Don't {}!", "panic");

Definition at line 175 of file ostream.h.

template<typename Char >
FMT_MODULE_EXPORT void vprint ( std::basic_ostream< Char > &  os,
basic_string_view< Char >  format_str,
basic_format_args< buffer_context< type_identity_t< Char >>>  args 
)

Definition at line 156 of file ostream.h.