Public Types | Public Member Functions
Typelib::normalized_numeric_type< T > Struct Template Reference

#include <normalized_numerics.hh>

List of all members.

Public Types

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 std::numeric_limits< T > limits
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

Definition at line 24 of file normalized_numerics.hh.


Member Typedef Documentation

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

Definition at line 33 of file normalized_numerics.hh.

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

Definition at line 26 of file normalized_numerics.hh.

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

Definition at line 34 of file normalized_numerics.hh.


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:


typelib
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Thu Jan 2 2014 11:38:41