rapidyaml 0.14.0
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
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 116 of file format.hpp.

Constructor & Destructor Documentation

◆ integral_padded_()

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.

format an integral type with a custom radix, and pad with zeroes on the left
Definition format.hpp:117

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 119 of file format.hpp.

◆ radix

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

Definition at line 120 of file format.hpp.

◆ num_digits

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:
  • /home/docs/checkouts/readthedocs.org/user_builds/rapidyaml/checkouts/v0.14.0/ext/c4core/src/c4/format.hpp