rapidyaml  0.9.0
parse and emit YAML, and do it fast
c4::fmt::integral_< T > Struct Template Reference

format an integral type with a custom radix More...

#include <format.hpp>

Public Member Functions

 C4_STATIC_ASSERT (std::is_integral< T >::value)
 
 integral_ (T val_, T radix_)
 

Public Attributes

val
 
radix
 

Detailed Description

template<typename T>
struct c4::fmt::integral_< T >

format an integral type with a custom radix

Definition at line 110 of file format.hpp.

Constructor & Destructor Documentation

◆ integral_()

template<typename T >
c4::fmt::integral_< T >::integral_ ( val_,
radix_ 
)
inline

Definition at line 115 of file format.hpp.

115 : val(val_), radix(radix_) {}

Member Function Documentation

◆ C4_STATIC_ASSERT()

template<typename T >
c4::fmt::integral_< T >::C4_STATIC_ASSERT ( std::is_integral< T >::value  )

Member Data Documentation

◆ val

template<typename T >
T c4::fmt::integral_< T >::val

Definition at line 113 of file format.hpp.

Referenced by c4::to_chars(), and c4::fmt::zpad().

◆ radix

template<typename T >
T c4::fmt::integral_< T >::radix

Definition at line 114 of file format.hpp.

Referenced by c4::to_chars(), and c4::fmt::zpad().


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