Menu

ExpandedRangeTypeSelector< T > Struct Template Reference

Type trait to select integer type with larger range than T. More...

#include <ExpandedRangeTypeSelector.h>

Public Member Functions

 BOOST_MPL_ASSERT_MSG (false, cannot_expand_range,(T))

Detailed Description

template<typename T>
struct ExpandedRangeTypeSelector< T >

Type trait to select integer type with larger range than T.

For unsigned types T it will select an unsigned type. For signed types T it will select an signed type. ExpandedRangeTypeSelector<T>::type will have double bit width of T.


Member Function Documentation

template<typename T >
ExpandedRangeTypeSelector< T >::BOOST_MPL_ASSERT_MSG ( false  ,
cannot_expand_range  ,
(T)   
)

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