gslmm::type_trait< unsigned int > Struct Template Reference

#include <type_trait.hh>

List of all members.


Detailed Description

template<>
struct gslmm::type_trait< unsigned int >

Type constants for unsigned int.


Public Types

typedef std::numeric_limits<
unsigned int > 
numeric_limits
typedef unsigned int & reference_type
typedef unsigned int * pointer_type
typedef unsigned int elementary_type

Static Public Member Functions

static const unsigned int unit ()
static const unsigned int null ()
static const unsigned int epsilon ()
static const unsigned int min ()
static const unsigned int max ()
static const unsigned int conjugate (const unsigned int &x)


Member Typedef Documentation

typedef unsigned int gslmm::type_trait< unsigned int >::elementary_type
 

elementary type

typedef std::numeric_limits<unsigned int> gslmm::type_trait< unsigned int >::numeric_limits
 

Standard numerical limits.

typedef unsigned int* gslmm::type_trait< unsigned int >::pointer_type
 

Type of pointer.

typedef unsigned int& gslmm::type_trait< unsigned int >::reference_type
 

Type of reference.


Member Function Documentation

static const unsigned int gslmm::type_trait< unsigned int >::conjugate const unsigned int &  x  )  [inline, static]
 

Parameters:
x Number to "conjugate"
Returns:
x

static const unsigned int gslmm::type_trait< unsigned int >::epsilon  )  [inline, static]
 

Smallest difference representable by a unsigned int variable,.

Returns:
$\epsilon_{\mbox{unsigned int}}$.

static const unsigned int gslmm::type_trait< unsigned int >::max  )  [inline, static]
 

Largest number representable by a unsigned int,.

Returns:
$\mbox{max}_{\mbox{unsigned int}}$.

static const unsigned int gslmm::type_trait< unsigned int >::min  )  [inline, static]
 

Least number representable by a unsigned int,.

Returns:
$\mbox{min}_{\mbox{unsigned int}}$.

static const unsigned int gslmm::type_trait< unsigned int >::null  )  [inline, static]
 

additive neutral element

static const unsigned int gslmm::type_trait< unsigned int >::unit  )  [inline, static]
 

multicative neutral element


The documentation for this struct was generated from the following file:
Top of page Last update Tue May 9 10:11:32 2006
Christian Holm
Created by DoxyGen 1.4.6