rapidyaml  0.13.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 357 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 362 of file format.hpp.

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

Member Data Documentation

◆ val

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

Definition at line 359 of file format.hpp.

◆ precision

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

Definition at line 360 of file format.hpp.

◆ fmt

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

Definition at line 361 of file format.hpp.


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