BALL::Limits< T > Class Template Reference
[Common Definitions]

#include <BALL/COMMON/limits.h>

List of all members.

Static Public Member Functions

static T min ()
static T max ()

Detailed Description

template<typename T>
class BALL::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>.

Definition at line 47 of file limits.h.


Member Function Documentation

template<typename T >
static T BALL::Limits< T >::max (  )  [inline, static]

Definition at line 74 of file limits.h.

template<typename T >
static T BALL::Limits< T >::min (  )  [inline, static]

Definition at line 70 of file limits.h.

Generated by  doxygen 1.6.3