Jpp 19.3.0-rc.2
the software that should make you happy
Loading...
Searching...
No Matches
JMATH::JLimits< T, false > Struct Template Reference

Template spacialisation of JMATH::JRandom for other data types. More...

#include <JLimits.hh>

Static Public Member Functions

static T min ()
 Get minimum possible value.
 
static T max ()
 Get maximum possible value.
 

Static Public Attributes

static const bool is_specialized = false
 

Detailed Description

template<class T>
struct JMATH::JLimits< T, false >

Template spacialisation of JMATH::JRandom for other data types.

The given template class should provide for the methods:

     static T min();
     static T max();

Definition at line 64 of file JLimits.hh.

Member Function Documentation

◆ min()

template<class T >
static T JMATH::JLimits< T, false >::min ( )
inlinestatic

Get minimum possible value.

Returns
minimum possible value

Definition at line 70 of file JLimits.hh.

71 {
72 return T::min();
73 }

◆ max()

template<class T >
static T JMATH::JLimits< T, false >::max ( )
inlinestatic

Get maximum possible value.

Returns
maximum possible value

Definition at line 81 of file JLimits.hh.

82 {
83 return T::max();
84 }

Member Data Documentation

◆ is_specialized

template<class T >
const bool JMATH::JLimits< T, false >::is_specialized = false
static

Definition at line 86 of file JLimits.hh.


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