Tapkee
PrecisionWrapper< T > Struct Template Reference

#include <wrappers.hpp>

Public Member Functions

 PrecisionWrapper (unsigned int precision, T value)
 

Public Attributes

utils::compile_time_assert< std::numeric_limits< T >::is_specialized > PRECISION_USED_FOR_NON_NUMERIC_TYPE
 
const T value_
 
const unsigned int precision_
 

Friends

template<typename U >
std::ostream & operator<< (std::ostream &out, const PrecisionWrapper &h)
 

Detailed Description

template<typename T>
struct formatting::wrappers::PrecisionWrapper< T >

Definition at line 123 of file wrappers.hpp.

Constructor & Destructor Documentation

◆ PrecisionWrapper()

PrecisionWrapper ( unsigned int  precision,
value 
)
explicit

Definition at line 126 of file wrappers.hpp.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const PrecisionWrapper< T > &  h 
)
friend

Member Data Documentation

◆ precision_

const unsigned int precision_

Definition at line 128 of file wrappers.hpp.

◆ PRECISION_USED_FOR_NON_NUMERIC_TYPE

utils::compile_time_assert<std::numeric_limits<T>::is_specialized> PRECISION_USED_FOR_NON_NUMERIC_TYPE

Definition at line 125 of file wrappers.hpp.

◆ value_

const T value_

Definition at line 127 of file wrappers.hpp.


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