Honeycomb  0.1
Component-Model Framework
Public Types | Public Member Functions | Static Public Attributes | List of all members
honey::NumeralInt< T > Class Template Reference

Numeric type info for integer types. More...

#include <Numeral.h>

Public Types

typedef Info::Int Int
 Integer representation of type. More...
 
typedef Info::Real Real
 Real representation of type. More...
 
typedef Info::Real_ Real_
 Real operations and constants class. More...
 

Public Member Functions

constexpr T min () const
 Minimum possible value for type (negative for signed types) More...
 
constexpr T max () const
 Maximum possible value for type. More...
 

Static Public Attributes

static const int sizeBits = sizeof(T)*8
 Size of type in bits. More...
 

Detailed Description

template<class T>
class honey::NumeralInt< T >

Numeric type info for integer types.

Member Typedef Documentation

template<class T >
typedef Info::Int honey::NumeralInt< T >::Int

Integer representation of type.

template<class T >
typedef Info::Real honey::NumeralInt< T >::Real

Real representation of type.

template<class T >
typedef Info::Real_ honey::NumeralInt< T >::Real_

Real operations and constants class.

Member Function Documentation

template<class T >
constexpr T honey::NumeralInt< T >::max ( ) const
inline

Maximum possible value for type.

template<class T >
constexpr T honey::NumeralInt< T >::min ( ) const
inline

Minimum possible value for type (negative for signed types)

Member Data Documentation

template<class T >
const int honey::NumeralInt< T >::sizeBits = sizeof(T)*8
static

Size of type in bits.


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