BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Static Public Member Functions | List of all members
BALL::Limits< T > Class Template Reference

#include <BALL/COMMON/limits.h>

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 ( )
inlinestatic

Definition at line 74 of file limits.h.

template<typename T >
static T BALL::Limits< T >::min ( )
inlinestatic

Definition at line 70 of file limits.h.