Static Public Member Functions | Static Public Attributes | List of all members
ustl::numeric_limits< T > Class Template Reference

Defines numeric limits for a type. More...

#include <ustl.h>

Static Public Member Functions

static constexpr T min (void)
 Returns the minimum value for type T.
 
static constexpr T max (void)
 Returns the minimum value for type T.
 

Static Public Attributes

static const bool is_signed = false
 True if the type is signed.
 
static const bool is_integer = false
 True if stores an exact value.
 
static const bool is_integral = false
 True if fixed size and cast-copyable.
 
static const unsigned digits = __limits_digits<T>::value
 Number of bits in T.
 
static const unsigned digits10 = __limits_digits10<T>::value
 Maximum number of decimal digits in printed version of T.
 

Detailed Description

template<typename T>
class ustl::numeric_limits< T >

Defines numeric limits for a type.


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

Generated on Mon Sep 28 2015 17:58:50 for uSTL by Doxygen 1.8.10