Go to the source code of this file.
#define BOOST_TT_AUX_PROMOTE_FROM_INDEX |
( |
|
N, |
|
|
|
T |
|
) |
| |
Value:template<>
struct promote_from_index<N,0,0> {
typedef T type; }; \
template<>
struct promote_from_index<N,0,1> {
typedef T volatile type; }; \
template<>
struct promote_from_index<N,1,0> {
typedef T const type; }; \
template<>
struct promote_from_index<N,1,1> {
typedef T const volatile type; };
Definition at line 81 of file integral_promotion.hpp.
#define BOOST_TT_AUX_PROMOTE_NONSTANDARD_TYPE |
( |
|
T | ) |
|
Value:template<>
struct need_promotion<
T> \
: public integral_constant<bool, (sizeof(T) < sizeof(int))> {};
Definition at line 34 of file integral_promotion.hpp.
#define BOOST_TT_AUX_PROMOTED_INDEX_TESTER |
( |
|
I, |
|
|
|
T |
|
) |
| sized_type_for_promotion<I>::type promoted_index_tester(T); |