rapidyaml  0.12.1
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 361 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 366 of file format.hpp.

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

Member Data Documentation

◆ val

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

Definition at line 363 of file format.hpp.

◆ precision

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

Definition at line 364 of file format.hpp.

◆ fmt

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

Definition at line 365 of file format.hpp.


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