emlabcpp
modern opinionated embedded C++ library
std::numeric_limits< T > Struct Template Reference

The quantity has defined partital specialization of std::numeric_limits, works as std::numeric_limits<ValueType>;. More...

#include <quantity.h>

Public Types

using value_type = typename T::value_type
 

Static Public Member Functions

constexpr static T lowest ()
 
constexpr static T min ()
 
constexpr static T max ()
 

Detailed Description

template<emlabcpp::quantity_derived T>
struct std::numeric_limits< T >

The quantity has defined partital specialization of std::numeric_limits, works as std::numeric_limits<ValueType>;.

Member Typedef Documentation

◆ value_type

template<emlabcpp::quantity_derived T>
using std::numeric_limits< T >::value_type = typename T::value_type

Member Function Documentation

◆ lowest()

template<emlabcpp::quantity_derived T>
constexpr static T std::numeric_limits< T >::lowest ( )
inlinestaticconstexpr

◆ max()

template<emlabcpp::quantity_derived T>
constexpr static T std::numeric_limits< T >::max ( )
inlinestaticconstexpr

References emlabcpp::max().

◆ min()

template<emlabcpp::quantity_derived T>
constexpr static T std::numeric_limits< T >::min ( )
inlinestaticconstexpr

References emlabcpp::min().


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