Agora  1.2.0
Agora project
printf.h File Reference
#include <algorithm>
#include <limits>
#include <ostream>
#include "format.h"
Include dependency graph for printf.h:

Go to the source code of this file.

Classes

struct  fmt::v8::printf_formatter< T >
 
class  fmt::v8::basic_printf_parse_context< Char >
 
class  fmt::v8::basic_printf_context< OutputIt, Char >
 
struct  fmt::v8::detail::int_checker< IsSigned >
 
struct  fmt::v8::detail::int_checker< true >
 
class  fmt::v8::detail::printf_precision_handler
 
class  fmt::v8::detail::is_zero_int
 
struct  fmt::v8::detail::make_unsigned_or_bool< T >
 
struct  fmt::v8::detail::make_unsigned_or_bool< bool >
 
class  fmt::v8::detail::arg_converter< T, Context >
 
class  fmt::v8::detail::char_converter< Context >
 
struct  fmt::v8::detail::get_cstring< Char >
 
class  fmt::v8::detail::printf_width_handler< Char >
 
class  fmt::v8::detail::printf_arg_formatter< OutputIt, Char >
 

Namespaces

 fmt
 
 fmt::v8
 
 fmt::v8::detail
 

Typedefs

template<typename Char >
using fmt::v8::basic_printf_context_t = basic_printf_context< detail::buffer_appender< Char >, Char >
 
using fmt::v8::printf_context = basic_printf_context_t< char >
 
using fmt::v8::wprintf_context = basic_printf_context_t< wchar_t >
 
using fmt::v8::printf_args = basic_format_args< printf_context >
 
using fmt::v8::wprintf_args = basic_format_args< wprintf_context >
 

Functions

template<typename T , typename Context , typename Char >
void fmt::v8::detail::convert_arg (basic_format_arg< Context > &arg, Char type)
 
template<typename Char >
void fmt::v8::detail::parse_flags (basic_format_specs< Char > &specs, const Char *&it, const Char *end)
 
template<typename Char , typename GetArg >
int fmt::v8::detail::parse_header (const Char *&it, const Char *end, basic_format_specs< Char > &specs, GetArg get_arg)
 
template<typename Char , typename Context >
void fmt::v8::detail::vprintf (buffer< Char > &buf, basic_string_view< Char > format, basic_format_args< Context > args)
 
template<typename... T>
auto fmt::v8::make_printf_args (const T &... args) -> format_arg_store< printf_context, T... >
 
template<typename... T>
auto fmt::v8::make_wprintf_args (const T &... args) -> format_arg_store< wprintf_context, T... >
 
template<typename S , typename Char = char_t<S>>
auto fmt::v8::vsprintf (const S &fmt, basic_format_args< basic_printf_context_t< type_identity_t< Char >>> args) -> std::basic_string< Char >
 
template<typename S , typename... T, typename Char = enable_if_t<detail::is_string<S>::value, char_t<S>>>
auto fmt::v8::sprintf (const S &fmt, const T &... args) -> std::basic_string< Char >
 
template<typename S , typename Char = char_t<S>>
auto fmt::v8::vfprintf (std::FILE *f, const S &fmt, basic_format_args< basic_printf_context_t< type_identity_t< Char >>> args) -> int
 
template<typename S , typename... T, typename Char = char_t<S>>
auto fmt::v8::fprintf (std::FILE *f, const S &fmt, const T &... args) -> int
 
template<typename S , typename Char = char_t<S>>
auto fmt::v8::vprintf (const S &fmt, basic_format_args< basic_printf_context_t< type_identity_t< Char >>> args) -> int
 
template<typename S , typename... T, enable_if_t<(detail::is_string< S >::value), int > = 0>
auto fmt::v8::printf (const S &fmt, const T &... args) -> int
 
template<typename S , typename Char = char_t<S>>
auto fmt::v8::vfprintf (std::basic_ostream< Char > &os, const S &fmt, basic_format_args< basic_printf_context_t< type_identity_t< Char >>> args) -> int
 
template<typename S , typename... T, typename Char = char_t<S>>
auto fmt::v8::fprintf (std::basic_ostream< Char > &os, const S &fmt, const T &... args) -> int