rapidyaml  0.16.0
parseandemitYAML,anddoitfast
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

T val
 
T 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 116 of file format.hpp.

Constructor & Destructor Documentation

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

Definition at line 122 of file format.hpp.

Member Function Documentation

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

Member Data Documentation

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

Definition at line 119 of file format.hpp.

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

Definition at line 120 of file format.hpp.

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

Definition at line 121 of file format.hpp.


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