SoPlex Documentation
Loading...
Searching...
No Matches
arg_converter< T, Context > Class Template Reference

#include <printf.h>

Public Member Functions

 arg_converter (basic_format_arg< Context > &arg, char_type type)
 
void operator() (bool value)
 
template<typename U , FMT_ENABLE_IF(std::is_integral< U >::value) >
void operator() (U value)
 
template<typename U , FMT_ENABLE_IF(!std::is_integral< U >::value) >
void operator() (U)
 

Private Types

using char_type = typename Context::char_type
 

Private Attributes

basic_format_arg< Context > & arg_
 
char_type type_
 

Detailed Description

template<typename T, typename Context>
class detail::arg_converter< T, Context >

Definition at line 71 of file printf.h.

Member Typedef Documentation

◆ char_type

template<typename T , typename Context >
using char_type = typename Context::char_type
private

Definition at line 73 of file printf.h.

Constructor & Destructor Documentation

◆ arg_converter()

template<typename T , typename Context >
arg_converter ( basic_format_arg< Context > & arg,
char_type type )

Definition at line 79 of file printf.h.

Member Function Documentation

◆ operator()() [1/3]

template<typename T , typename Context >
void operator() ( bool value)

Definition at line 82 of file printf.h.

References arg_converter< T, Context >::type_.

◆ operator()() [2/3]

template<typename T , typename Context >
template<typename U , FMT_ENABLE_IF(std::is_integral< U >::value) >
void operator() ( U value)

◆ operator()() [3/3]

template<typename T , typename Context >
template<typename U , FMT_ENABLE_IF(!std::is_integral< U >::value) >
void operator() ( U )

Definition at line 114 of file printf.h.

Member Data Documentation

◆ arg_

template<typename T , typename Context >
basic_format_arg<Context>& arg_
private

Definition at line 75 of file printf.h.

Referenced by arg_converter< T, Context >::operator()().

◆ type_

template<typename T , typename Context >
char_type type_
private