Public Member Functions
ecl::numeric_limits< T > Class Template Reference

Expands the std numeric_limits class. More...

#include <numeric_limits.hpp>

List of all members.

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 55 of file numeric_limits.hpp.

Constructor & Destructor Documentation

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

Definition at line 57 of file numeric_limits.hpp.

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

Author(s): Daniel Stonier (
autogenerated on Thu Jan 2 2014 11:11:59