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

T val
 
int precision
 
RealFormat_e fmt
 

Detailed Description

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

Definition at line 353 of file format.hpp.

Constructor & Destructor Documentation

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

Definition at line 358 of file format.hpp.

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

Member Data Documentation

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

Definition at line 355 of file format.hpp.

Referenced by c4::to_chars().

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

Definition at line 356 of file format.hpp.

Referenced by c4::to_chars().

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

Definition at line 357 of file format.hpp.

Referenced by c4::to_chars().


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