SoPlex Documentation
Loading...
Searching...
No Matches
printf_width_handler< Char > Class Template Reference

#include <printf.h>

Public Member Functions

 printf_width_handler (format_specs &specs)
 
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
unsigned operator() (T value)
 
template<typename T , FMT_ENABLE_IF(!std::is_integral< T >::value) >
unsigned operator() (T)
 

Private Types

using format_specs = basic_format_specs<Char>
 

Private Attributes

format_specsspecs_
 

Detailed Description

template<typename Char>
class detail::printf_width_handler< Char >

Definition at line 153 of file printf.h.

Member Typedef Documentation

◆ format_specs

template<typename Char >
using format_specs = basic_format_specs<Char>
private

Definition at line 155 of file printf.h.

Constructor & Destructor Documentation

◆ printf_width_handler()

template<typename Char >
printf_width_handler ( format_specs & specs)
explicit

Definition at line 160 of file printf.h.

Member Function Documentation

◆ operator()() [1/2]

template<typename Char >
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
unsigned operator() ( T value)

◆ operator()() [2/2]

template<typename Char >
template<typename T , FMT_ENABLE_IF(!std::is_integral< T >::value) >
unsigned operator() ( T )

Definition at line 175 of file printf.h.

References FMT_THROW.

Member Data Documentation

◆ specs_

template<typename Char >
format_specs& specs_
private

Definition at line 157 of file printf.h.

Referenced by printf_width_handler< Char >::operator()().