Public Member Functions | List of all members
printf_formatter< T > Struct Template Reference

#include <printf.h>

Public Member Functions

template<typename ParseContext >
auto parse (ParseContext &ctx) -> decltype(ctx.begin())
 
template<typename FormatContext >
auto format (const T &value, FormatContext &ctx) -> decltype(ctx.out())
 

Detailed Description

template<typename T>
struct printf_formatter< T >

Definition at line 459 of file printf.h.

Member Function Documentation

template<typename T >
template<typename FormatContext >
auto printf_formatter< T >::format ( const T &  value,
FormatContext &  ctx 
) -> decltype(ctx.out())
inline

Definition at line 464 of file printf.h.

464  {
466  return ctx.out();
467  }
Container & get_container(std::back_insert_iterator< Container > it)
Definition: core.h:313
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1225
void format_value(basic_buffer< Char > &buffer, const T &value)
Definition: ostream.h:91
template<typename T >
template<typename ParseContext >
auto printf_formatter< T >::parse ( ParseContext &  ctx) -> decltype(ctx.begin())
inline

Definition at line 461 of file printf.h.

461 { return ctx.begin(); }

The documentation for this struct was generated from the following file: