10 #ifndef BOOST_TT_IS_UNSIGNED_HPP_INCLUDED
11 #define BOOST_TT_IS_UNSIGNED_HPP_INCLUDED
21 #if !defined( __CODEGEARC__ )
23 #if !(defined(BOOST_MSVC) && BOOST_MSVC <= 1310) &&\
24 !(defined(__EDG_VERSION__) && __EDG_VERSION__ <= 238) &&\
25 !defined(BOOST_NO_INCLASS_MEMBER_INITIALIZATION)
48 template <
bool integral_type>
72 typedef typename selector::template rebind<T>
binder;
73 typedef typename binder::type
type;
87 #else // defined( __CODEGEARC__ )
88 template <
class T>
struct is_unsigned :
public integral_constant<bool, __is_unsigned(T)> {};
124 #ifdef BOOST_HAS_LONG_LONG
126 template <>
struct is_unsigned<const ::boost::ulong_long_type> :
public true_type{};
127 template <>
struct is_unsigned<volatile ::boost::ulong_long_type> :
public true_type{};
128 template <>
struct is_unsigned<const volatile ::boost::ulong_long_type> :
public true_type{};
130 template <>
struct is_unsigned< ::boost::long_long_type> :
public false_type{};
131 template <>
struct is_unsigned<const ::boost::long_long_type> :
public false_type{};
132 template <>
struct is_unsigned<volatile ::boost::long_long_type> :
public false_type{};
133 template <>
struct is_unsigned<const volatile ::boost::long_long_type> :
public false_type{};
135 #if defined(CHAR_MIN)
137 template <>
struct is_unsigned<char> :
public true_type{};
138 template <>
struct is_unsigned<const char> :
public true_type{};
139 template <>
struct is_unsigned<volatile char> :
public true_type{};
140 template <>
struct is_unsigned<const volatile char> :
public true_type{};
142 template <>
struct is_unsigned<char> :
public false_type{};
143 template <>
struct is_unsigned<const char> :
public false_type{};
144 template <>
struct is_unsigned<volatile char> :
public false_type{};
145 template <>
struct is_unsigned<const volatile char> :
public false_type{};
148 #if !defined(BOOST_NO_INTRINSIC_WCHAR_T) && defined(WCHAR_MIN)
150 template <>
struct is_unsigned<wchar_t> :
public true_type{};
151 template <>
struct is_unsigned<const wchar_t> :
public true_type{};
152 template <>
struct is_unsigned<volatile wchar_t> :
public true_type{};
153 template <>
struct is_unsigned<const volatile wchar_t> :
public true_type{};
155 template <>
struct is_unsigned<wchar_t> :
public false_type{};
156 template <>
struct is_unsigned<const wchar_t> :
public false_type{};
157 template <>
struct is_unsigned<volatile wchar_t> :
public false_type{};
158 template <>
struct is_unsigned<const volatile wchar_t> :
public false_type{};
163 #endif // BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED