WPILibC++ 2024.3.2
detail::printf_arg_formatter< Char > Class Template Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/fmtlib/include/fmt/printf.h>

Inheritance diagram for detail::printf_arg_formatter< Char >:
detail::arg_formatter< Char >

Public Member Functions

 printf_arg_formatter (buffer_appender< Char > iter, format_specs< Char > &s, context_type &ctx)
 
void operator() (monostate value)
 
template<typename T , FMT_ENABLE_IF(detail::is_integral< T >::value) >
void operator() (T value)
 
template<typename T , FMT_ENABLE_IF(std::is_floating_point< T >::value) >
void operator() (T value)
 
void operator() (const char *value)
 Formats a null-terminated C string. More...
 
void operator() (const wchar_t *value)
 Formats a null-terminated wide C string. More...
 
void operator() (basic_string_view< Char > value)
 
void operator() (const void *value)
 Formats a pointer. More...
 
void operator() (typename basic_format_arg< context_type >::handle handle)
 Formats an argument of a custom (user-defined) type. More...
 
- Public Member Functions inherited from detail::arg_formatter< Char >
template<typename T >
FMT_CONSTEXPR FMT_INLINE auto operator() (T value) -> iterator
 
auto operator() (typename basic_format_arg< context >::handle) -> iterator
 

Additional Inherited Members

- Public Types inherited from detail::arg_formatter< Char >
using iterator = buffer_appender< Char >
 
using context = buffer_context< Char >
 
- Public Attributes inherited from detail::arg_formatter< Char >
iterator out
 
const format_specs< Char > & specs
 
locale_ref locale
 

Constructor & Destructor Documentation

◆ printf_arg_formatter()

template<typename Char >
detail::printf_arg_formatter< Char >::printf_arg_formatter ( buffer_appender< Char >  iter,
format_specs< Char > &  s,
context_type ctx 
)
inline

Member Function Documentation

◆ operator()() [1/8]

template<typename Char >
void detail::printf_arg_formatter< Char >::operator() ( basic_string_view< Char >  value)
inline

◆ operator()() [2/8]

template<typename Char >
void detail::printf_arg_formatter< Char >::operator() ( const char *  value)
inline

Formats a null-terminated C string.

◆ operator()() [3/8]

template<typename Char >
void detail::printf_arg_formatter< Char >::operator() ( const void *  value)
inline

Formats a pointer.

◆ operator()() [4/8]

template<typename Char >
void detail::printf_arg_formatter< Char >::operator() ( const wchar_t *  value)
inline

Formats a null-terminated wide C string.

◆ operator()() [5/8]

template<typename Char >
void detail::printf_arg_formatter< Char >::operator() ( monostate  value)
inline

◆ operator()() [6/8]

template<typename Char >
template<typename T , FMT_ENABLE_IF(detail::is_integral< T >::value) >
void detail::printf_arg_formatter< Char >::operator() ( value)
inline

◆ operator()() [7/8]

template<typename Char >
template<typename T , FMT_ENABLE_IF(std::is_floating_point< T >::value) >
void detail::printf_arg_formatter< Char >::operator() ( value)
inline

◆ operator()() [8/8]

template<typename Char >
void detail::printf_arg_formatter< Char >::operator() ( typename basic_format_arg< context_type >::handle  handle)
inline

Formats an argument of a custom (user-defined) type.


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