spdlog
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
width_checker< ErrorHandler > Class Template Reference

Detailed Description

template<typename ErrorHandler>
class width_checker< ErrorHandler >

Definition at line 2015 of file format.h.

#include <format.h>

Public Member Functions

FMT_CONSTEXPR width_checker (ErrorHandler &eh)
 
template<typename T , FMT_ENABLE_IF(is_integer< T >::value) >
FMT_CONSTEXPR auto operator() (T value) -> unsigned long long
 
template<typename T , FMT_ENABLE_IF(!is_integer< T >::value) >
FMT_CONSTEXPR auto operator() (T) -> unsigned long long
 

Private Attributes

ErrorHandler & handler_
 

Constructor & Destructor Documentation

◆ width_checker()

template<typename ErrorHandler >
FMT_CONSTEXPR width_checker< ErrorHandler >::width_checker ( ErrorHandler &  eh)
inlineexplicit

Definition at line 2017 of file format.h.

Member Function Documentation

◆ operator()() [1/2]

template<typename ErrorHandler >
template<typename T , FMT_ENABLE_IF(is_integer< T >::value) >
FMT_CONSTEXPR auto width_checker< ErrorHandler >::operator() ( T  value) -> unsigned long long
inline

Definition at line 2020 of file format.h.

◆ operator()() [2/2]

template<typename ErrorHandler >
template<typename T , FMT_ENABLE_IF(!is_integer< T >::value) >
FMT_CONSTEXPR auto width_checker< ErrorHandler >::operator() ( T  ) -> unsigned long long
inline

Definition at line 2026 of file format.h.

Member Data Documentation

◆ handler_

template<typename ErrorHandler >
ErrorHandler& width_checker< ErrorHandler >::handler_
private

Definition at line 2032 of file format.h.


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