Public Member Functions | Public Attributes | List of all members
internal::arg_formatter_base< Range >::char_spec_handler Struct Reference

#include <format.h>

Inheritance diagram for internal::arg_formatter_base< Range >::char_spec_handler:
internal::error_handler

Public Member Functions

 char_spec_handler (arg_formatter_base &f, char_type val)
 
void on_int ()
 
void on_char ()
 
- Public Member Functions inherited from internal::error_handler
FMT_CONSTEXPR error_handler ()
 
FMT_CONSTEXPR error_handler (const error_handler &)
 
FMT_API void on_error (const char *message)
 

Public Attributes

arg_formatter_baseformatter
 
char_type value
 

Detailed Description

template<typename Range>
struct internal::arg_formatter_base< Range >::char_spec_handler

Definition at line 1393 of file format.h.

Constructor & Destructor Documentation

template<typename Range >
internal::arg_formatter_base< Range >::char_spec_handler::char_spec_handler ( arg_formatter_base f,
char_type  val 
)
inline

Member Function Documentation

template<typename Range >
void internal::arg_formatter_base< Range >::char_spec_handler::on_char ( )
inline

Definition at line 1406 of file format.h.

template<typename Range >
void internal::arg_formatter_base< Range >::char_spec_handler::on_int ( )
inline

Definition at line 1400 of file format.h.

1400  {
1401  if (formatter.specs_)
1402  formatter.writer_.write_int(value, *formatter.specs_);
1403  else
1404  formatter.writer_.write(value);
1405  }

Member Data Documentation

template<typename Range >
arg_formatter_base& internal::arg_formatter_base< Range >::char_spec_handler::formatter

Definition at line 1394 of file format.h.

template<typename Range >
char_type internal::arg_formatter_base< Range >::char_spec_handler::value

Definition at line 1395 of file format.h.


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