Public Member Functions | Static Public Member Functions | List of all members
internal::char_traits< char > Struct Template Reference

#include <format.h>

Public Member Functions

template<typename T >
int format_float (char *buf, std::size_t size, const char *format, int precision, T value)
 

Static Public Member Functions

template<typename T >
static FMT_API int format_float (char *buffer, std::size_t size, const char *format, int precision, T value)
 

Detailed Description

template<>
struct internal::char_traits< char >

Definition at line 562 of file format.h.

Member Function Documentation

template<typename T >
int internal::char_traits< char >::format_float ( char *  buf,
std::size_t  size,
const char *  format,
int  precision,
value 
)

Definition at line 245 of file format-inl.h.

246  {
247  return precision < 0 ?
248  FMT_SNPRINTF(buf, size, format, value) :
249  FMT_SNPRINTF(buf, size, format, precision, value);
250 }
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
Definition: StdUtils.h:87
#define FMT_SNPRINTF
Definition: format-inl.h:70
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1225
template<typename T >
static FMT_API int internal::char_traits< char >::format_float ( char *  buffer,
std::size_t  size,
const char *  format,
int  precision,
value 
)
static

The documentation for this struct was generated from the following files: