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

#include <format.hpp>

Public Member Functions

 real_ (T v, int prec=-1, RealFormat_e f=FTOA_FLOAT)
 

Public Attributes

val
 
int precision
 
RealFormat_e fmt
 

Detailed Description

template<class T>
struct c4::fmt::real_< T >

Definition at line 351 of file format.hpp.

Constructor & Destructor Documentation

◆ real_()

template<class T >
c4::fmt::real_< T >::real_ ( v,
int  prec = -1,
RealFormat_e  f = FTOA_FLOAT 
)
inline

Definition at line 356 of file format.hpp.

356 : val(v), precision(prec), fmt(f) {}
RealFormat_e fmt
Definition: format.hpp:355

Member Data Documentation

◆ val

template<class T >
T c4::fmt::real_< T >::val

Definition at line 353 of file format.hpp.

Referenced by c4::to_chars().

◆ precision

template<class T >
int c4::fmt::real_< T >::precision

Definition at line 354 of file format.hpp.

Referenced by c4::to_chars().

◆ fmt

template<class T >
RealFormat_e c4::fmt::real_< T >::fmt

Definition at line 355 of file format.hpp.

Referenced by c4::to_chars().


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