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

format an integral type with a custom radix, and pad with zeroes on the left More...

#include <format.hpp>

Public Member Functions

 C4_STATIC_ASSERT (std::is_integral< T >::value)
 
 integral_padded_ (T val_, T radix_, size_t nd)
 

Public Attributes

val
 
radix
 
size_t num_digits
 

Detailed Description

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

format an integral type with a custom radix, and pad with zeroes on the left

Definition at line 119 of file format.hpp.

Constructor & Destructor Documentation

◆ integral_padded_()

template<typename T >
c4::fmt::integral_padded_< T >::integral_padded_ ( val_,
radix_,
size_t  nd 
)
inline

Definition at line 125 of file format.hpp.

Member Function Documentation

◆ C4_STATIC_ASSERT()

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

Member Data Documentation

◆ val

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

Definition at line 122 of file format.hpp.

Referenced by c4::to_chars().

◆ radix

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

Definition at line 123 of file format.hpp.

Referenced by c4::to_chars().

◆ num_digits

template<typename T >
size_t c4::fmt::integral_padded_< T >::num_digits

Definition at line 124 of file format.hpp.

Referenced by c4::to_chars().


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