From ea8447084798b745a37ae7860c7dfb7fd1c4a60f Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 22 Apr 2002 18:02:11 +0000 Subject: [PATCH] Disabled the new is_class for BOOST_MSVC==1301 [SVN r13543] --- include/boost/type_traits/composite_traits.hpp | 2 +- include/boost/type_traits/is_class.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/type_traits/composite_traits.hpp b/include/boost/type_traits/composite_traits.hpp index 31ddcff..7da2ad8 100644 --- a/include/boost/type_traits/composite_traits.hpp +++ b/include/boost/type_traits/composite_traits.hpp @@ -275,7 +275,7 @@ template struct is_enum private: typedef typename ::boost::add_reference::type r_type; -# if (defined(__MWERKS__) && __MWERKS__ >= 0x3000) || BOOST_MSVC > 1300 || defined(BOOST_NO_COMPILER_CONFIG) +# if (defined(__MWERKS__) && __MWERKS__ >= 0x3000) || BOOST_MSVC > 1301 || defined(BOOST_NO_COMPILER_CONFIG) BOOST_STATIC_CONSTANT(bool, selector = (::boost::type_traits::ice_or< ::boost::is_arithmetic::value diff --git a/include/boost/type_traits/is_class.hpp b/include/boost/type_traits/is_class.hpp index 496a0ca..329c440 100644 --- a/include/boost/type_traits/is_class.hpp +++ b/include/boost/type_traits/is_class.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_TYPE_TRAITS_IS_CLASS_HPP # define BOOST_TYPE_TRAITS_IS_CLASS_HPP -# if (defined(__MWERKS__) && __MWERKS__ >= 0x3000) || BOOST_MSVC > 1300 || defined(BOOST_NO_COMPILER_CONFIG) +# if (defined(__MWERKS__) && __MWERKS__ >= 0x3000) || BOOST_MSVC > 1301 || defined(BOOST_NO_COMPILER_CONFIG) # ifndef BOOST_ICE_TYPE_TRAITS_HPP # include # endif