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

Expands the std numeric_limits class. More...

#include <numeric_limits.hpp>

Inheritance diagram for ecl::numeric_limits< T >:
Inheritance graph
[legend]

Public Member Functions

 numeric_limits ()
 

Detailed Description

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

Expands the std numeric_limits class.

This (the non-specialized template) simply returns the same functionality (via inheritance) as the std::numeric_limits class.

Specialisations of this class expand its definitions.

Note that since this class and all its specialisations inherit the std::numeric_limits class, it is only really usable for fundamental c++ types. To extend non-fundamental types however, it is perfectly ok to specialise and add your own numeric_limits functionality.

Also note that once the future c++0x standard is in, support in std::numeric_limits will be better and we can do away with much of the implementation in the derived classes here.

Template Parameters
T: the type to check (currently must be a fundamental type).

Definition at line 62 of file numeric_limits.hpp.

Constructor & Destructor Documentation

◆ numeric_limits()

template<typename T >
ecl::numeric_limits< T >::numeric_limits ( )
inline

Definition at line 72 of file numeric_limits.hpp.


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


ecl_type_traits
Author(s): Daniel Stonier
autogenerated on Sun Aug 2 2020 03:12:07