Rosetta
Public Member Functions | Private Types | Private Attributes | List of all members
detail::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_
 

Member Typedef Documentation

◆ format_specs

template<typename Char >
using detail::printf_width_handler< Char >::format_specs = basic_format_specs<Char>
private

Constructor & Destructor Documentation

◆ printf_width_handler()

template<typename Char >
detail::printf_width_handler< Char >::printf_width_handler ( format_specs specs)
inlineexplicit

Member Function Documentation

◆ operator()() [1/2]

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

◆ operator()() [2/2]

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

References FMT_THROW.

Member Data Documentation

◆ specs_

template<typename Char >
format_specs& detail::printf_width_handler< Char >::specs_
private

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