Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::aux::make_common_integral_type< T, U, TSizeV, USizeV, TSmallerThanU > Struct Template Reference

The trait creates a common integral type suitable for comparison. This is mostly to silence compiler warnings like 'signed/unsigned mismatch'. More...

#include <logical.hpp>

Public Types

typedef T type
 

Detailed Description

template<typename T, typename U, unsigned int TSizeV = sizeof(T), unsigned int USizeV = sizeof(U), bool TSmallerThanU = (sizeof(T) < sizeof(U))>
struct boost::aux::make_common_integral_type< T, U, TSizeV, USizeV, TSmallerThanU >

The trait creates a common integral type suitable for comparison. This is mostly to silence compiler warnings like 'signed/unsigned mismatch'.

Member Typedef Documentation

template<typename T , typename U , unsigned int TSizeV = sizeof(T), unsigned int USizeV = sizeof(U), bool TSmallerThanU = (sizeof(T) < sizeof(U))>
typedef T boost::aux::make_common_integral_type< T, U, TSizeV, USizeV, TSmallerThanU >::type

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