#include <normalized_numerics.hh>
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)) |
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.
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.
typedef std::numeric_limits<T> Typelib::normalized_numeric_type< T >::limits |
Definition at line 26 of file normalized_numerics.hh.
typedef getter::type Typelib::normalized_numeric_type< T >::type |
Definition at line 34 of file normalized_numerics.hh.
Typelib::normalized_numeric_type< T >::BOOST_STATIC_ASSERT | ( | (limits::is_integer) | ) |