]> git.lyx.org Git - lyx.git/blobdiff - boost/boost/type_traits/is_arithmetic.hpp
update boost to version 1.48
[lyx.git] / boost / boost / type_traits / is_arithmetic.hpp
index ec5766185525f80a58022af251758d0b657e5a46..a1d8c46d5f0b4816b221754b50229034e4391ac0 100644 (file)
@@ -9,16 +9,19 @@
 #ifndef BOOST_TT_IS_ARITHMETIC_HPP_INCLUDED
 #define BOOST_TT_IS_ARITHMETIC_HPP_INCLUDED
 
-#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"
+#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"
+#include <boost/type_traits/detail/bool_trait_def.hpp>
 
 namespace boost {
 
+#if !defined(__CODEGEARC__)
 namespace detail {
 
 template< typename T >
@@ -32,12 +35,17 @@ 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
 
-#include "boost/type_traits/detail/bool_trait_undef.hpp"
+#include <boost/type_traits/detail/bool_trait_undef.hpp>
 
 #endif // BOOST_TT_IS_ARITHMETIC_HPP_INCLUDED