Typelib::normalized_numeric_type< T > Struct Template Reference

#include <typelib/normalized_numerics.hh>

List of all members.

Public Types

typedef std::numeric_limits< T > limits
typedef boost::mpl::if_
< boost::mpl::bool_
< std::numeric_limits< T >
::is_signed >, details::sint_t
< limits::digits >
, details::uint_t
< limits::digits > >::type 
getter
typedef getter::type type

Public Member Functions

 BOOST_STATIC_ASSERT ((limits::is_integer))


Detailed Description

template<typename T>
struct Typelib::normalized_numeric_type< T >

This template converts base C types (long, int, ...) in their normalized form (uin8_t, int16_t, ...) For consistency, it is also specialized for float and double

Member Typedef Documentation

template<typename T>
typedef std::numeric_limits<T> Typelib::normalized_numeric_type< T >::limits

template<typename T>
typedef boost::mpl::if_< boost::mpl::bool_<std::numeric_limits<T>::is_signed> , details::sint_t< limits::digits > , details::uint_t< limits::digits > >::type Typelib::normalized_numeric_type< T >::getter

template<typename T>
typedef getter::type Typelib::normalized_numeric_type< T >::type


Member Function Documentation

template<typename T>
Typelib::normalized_numeric_type< T >::BOOST_STATIC_ASSERT ( (limits::is_integer)   ) 


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

Generated on Thu Jan 22 16:37:54 2009 for typeLib by doxygen 1.5.6
SourceForge.net Project Page