Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

Limits< T > Class Template Reference
[Common Definitions]

Numeric limits class. More...

#include <limits.h>

List of all members.

Static Public Member Functions

min () throw ()
max () throw ()


Detailed Description

template<typename T>
class Limits< T >

Numeric limits class.

This template class describes the minimum and maximum values for the differnet data types. It a substitute for the numeric_limits class described in the ISO/ANSI standard (chapter 18.2.1.1), as most compiler still do not support this feature (or more precisely: the header file <limits> is not implemented). If <limits> exists, Limits is just a wrapper around the numeric_limits class, otherwise it returns the value from the standard C header <limits.h>.