ecl::numeric_limits< T > Class Template Reference

Expands the std numeric_limits class. More...

`#include <numeric_limits.hpp>`

## Public Member Functions | |

numeric_limits () |

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.

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:

ecl_type_traits

Author(s): Daniel Stonier (d.stonier@gmail.com)

autogenerated on Thu Jan 2 2014 11:11:59

Author(s): Daniel Stonier (d.stonier@gmail.com)

autogenerated on Thu Jan 2 2014 11:11:59