Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
integral_promotion.hpp File Reference
#include <boost/config.hpp>
#include <boost/mpl/eval_if.hpp>
#include <boost/mpl/identity.hpp>
#include <boost/type_traits/integral_constant.hpp>
#include <boost/type_traits/is_const.hpp>
#include <boost/type_traits/is_enum.hpp>
#include <boost/type_traits/is_volatile.hpp>
#include <boost/type_traits/remove_cv.hpp>
#include <boost/type_traits/detail/type_trait_def.hpp>
#include <boost/type_traits/detail/type_trait_undef.hpp>
Include dependency graph for integral_promotion.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  boost::type_traits::detail::need_promotion< T >
 
struct  boost::type_traits::detail::need_promotion< char >
 
struct  boost::type_traits::detail::need_promotion< signed char >
 
struct  boost::type_traits::detail::need_promotion< unsigned char >
 
struct  boost::type_traits::detail::need_promotion< signed short int >
 
struct  boost::type_traits::detail::need_promotion< unsigned short int >
 
struct  boost::type_traits::detail::need_promotion< wchar_t >
 
struct  boost::type_traits::detail::need_promotion< bool >
 
struct  boost::type_traits::detail::promote_from_index< Index, IsConst, IsVolatile >
 
struct  boost::type_traits::detail::promote_from_index< 1, 0, 0 >
 
struct  boost::type_traits::detail::promote_from_index< 1, 0, 1 >
 
struct  boost::type_traits::detail::promote_from_index< 1, 1, 0 >
 
struct  boost::type_traits::detail::promote_from_index< 1, 1, 1 >
 
struct  boost::type_traits::detail::promote_from_index< 2, 0, 0 >
 
struct  boost::type_traits::detail::promote_from_index< 2, 0, 1 >
 
struct  boost::type_traits::detail::promote_from_index< 2, 1, 0 >
 
struct  boost::type_traits::detail::promote_from_index< 2, 1, 1 >
 
struct  boost::type_traits::detail::promote_from_index< 3, 0, 0 >
 
struct  boost::type_traits::detail::promote_from_index< 3, 0, 1 >
 
struct  boost::type_traits::detail::promote_from_index< 3, 1, 0 >
 
struct  boost::type_traits::detail::promote_from_index< 3, 1, 1 >
 
struct  boost::type_traits::detail::promote_from_index< 4, 0, 0 >
 
struct  boost::type_traits::detail::promote_from_index< 4, 0, 1 >
 
struct  boost::type_traits::detail::promote_from_index< 4, 1, 0 >
 
struct  boost::type_traits::detail::promote_from_index< 4, 1, 1 >
 
struct  boost::type_traits::detail::sized_type_for_promotion< N >
 
struct  boost::type_traits::detail::promoted_index< T >
 
struct  boost::type_traits::detail::integral_promotion_impl< T >
 
struct  boost::type_traits::detail::integral_promotion< T >
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::type_traits
 
 boost::type_traits::detail
 

Macros

#define BOOST_TT_AUX_PROMOTE_NONSTANDARD_TYPE(T)
 
#define BOOST_TT_AUX_PROMOTE_FROM_INDEX(N, T)
 
#define BOOST_TT_AUX_PROMOTED_INDEX_TESTER(I, T)   sized_type_for_promotion<I>::type promoted_index_tester(T);
 

Functions

sized_type_for_promotion< 1 >::type boost::type_traits::detail::promoted_index_tester (int)
 
sized_type_for_promotion< 2 >::type boost::type_traits::detail::promoted_index_tester (unsigned int)
 
sized_type_for_promotion< 3 >::type boost::type_traits::detail::promoted_index_tester (long)
 

Macro Definition Documentation

#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; };
T
Definition: mem_fn_cc.hpp:25
#define N
Definition: forward_adapter.hpp:198
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
#define BOOST_TT_AUX_PROMOTE_NONSTANDARD_TYPE (   T)
Value:
template<> struct need_promotion<T> \
: public integral_constant<bool, (sizeof(T) < sizeof(int))> {};
T
Definition: mem_fn_cc.hpp:25
#define BOOST_TT_AUX_PROMOTED_INDEX_TESTER (   I,
  T 
)    sized_type_for_promotion<I>::type promoted_index_tester(T);