]> git.lyx.org Git - lyx.git/blobdiff - boost/boost/type_traits/is_arithmetic.hpp
update to boost 1.41.0
[lyx.git] / boost / boost / type_traits / is_arithmetic.hpp
index be881c5fbe2305d2bdca4baeda1bd2d1604779b2..a1d8c46d5f0b4816b221754b50229034e4391ac0 100644 (file)
@@ -9,16 +9,19 @@
 #ifndef BOOST_TT_IS_ARITHMETIC_HPP_INCLUDED
 #define BOOST_TT_IS_ARITHMETIC_HPP_INCLUDED
 
+#if !defined( __CODEGEARC__ )
 #include <boost/type_traits/is_integral.hpp>
 #include <boost/type_traits/is_float.hpp>
 #include <boost/type_traits/detail/ice_or.hpp>
 #include <boost/config.hpp>
+#endif
 
 // should be the last #include
 #include <boost/type_traits/detail/bool_trait_def.hpp>
 
 namespace boost {
 
+#if !defined(__CODEGEARC__)
 namespace detail {
 
 template< typename T >
@@ -32,9 +35,14 @@ struct is_arithmetic_impl
 };
 
 } // namespace detail
+#endif
 
 //* is a type T an arithmetic type described in the standard (3.9.1p8)
+#if defined(__CODEGEARC__)
+BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_arithmetic,T,__is_arithmetic(T))
+#else
 BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_arithmetic,T,::boost::detail::is_arithmetic_impl<T>::value)
+#endif
 
 } // namespace boost