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

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

Constructor & Destructor Documentation

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

Definition at line 58 of file numeric_limits.hpp.

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

Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:08:18