10 #ifndef BOOST_TT_IS_SIGNED_HPP_INCLUDED
11 #define BOOST_TT_IS_SIGNED_HPP_INCLUDED
20 #if !defined( __CODEGEARC__ )
22 #if !(defined(BOOST_MSVC) && BOOST_MSVC <= 1310) && \
23 !(defined(__EDG_VERSION__) && __EDG_VERSION__ <= 238) &&\
24 !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_signed :
public integral_constant<bool, __is_signed(T)>{};
124 #ifdef BOOST_HAS_LONG_LONG
126 template <>
struct is_signed<const ::boost::long_long_type> :
public true_type{};
127 template <>
struct is_signed<volatile ::boost::long_long_type> :
public true_type{};
128 template <>
struct is_signed<const volatile ::boost::long_long_type> :
public true_type{};
130 template <>
struct is_signed< ::boost::ulong_long_type> :
public false_type{};
131 template <>
struct is_signed<const ::boost::ulong_long_type> :
public false_type{};
132 template <>
struct is_signed<volatile ::boost::ulong_long_type> :
public false_type{};
133 template <>
struct is_signed<const volatile ::boost::ulong_long_type> :
public false_type{};
135 #if defined(CHAR_MIN)
137 template <>
struct is_signed<char> :
public true_type{};
138 template <>
struct is_signed<const char> :
public true_type{};
139 template <>
struct is_signed<volatile char> :
public true_type{};
140 template <>
struct is_signed<const volatile char> :
public true_type{};
142 template <>
struct is_signed<char> :
public false_type{};
143 template <>
struct is_signed<const char> :
public false_type{};
144 template <>
struct is_signed<volatile char> :
public false_type{};
145 template <>
struct is_signed<const volatile char> :
public false_type{};
148 #if defined(WCHAR_MIN) && !defined(BOOST_NO_INTRINSIC_WCHAR_T)
150 template <>
struct is_signed<wchar_t> :
public true_type{};
151 template <>
struct is_signed<const wchar_t> :
public true_type{};
152 template <>
struct is_signed<volatile wchar_t> :
public true_type{};
153 template <>
struct is_signed<const volatile wchar_t> :
public true_type{};
155 template <>
struct is_signed<wchar_t> :
public false_type{};
156 template <>
struct is_signed<const wchar_t> :
public false_type{};
157 template <>
struct is_signed<volatile wchar_t> :
public false_type{};
158 template <>
struct is_signed<const volatile wchar_t> :
public false_type{};
163 #endif // BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED