Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86260 - in trunk/boost/mpl: . aux_/config
From: steveire_at_[hidden]
Date: 2013-10-12 06:19:11


Author: skelly
Date: 2013-10-12 06:19:11 EDT (Sat, 12 Oct 2013)
New Revision: 86260
URL: http://svn.boost.org/trac/boost/changeset/86260

Log:
MPL: Remove obsolete GCC version checks.

Text files modified:
   trunk/boost/mpl/aux_/config/operators.hpp | 1 -
   trunk/boost/mpl/aux_/config/typeof.hpp | 2 +-
   trunk/boost/mpl/eval_if.hpp | 6 ++----
   3 files changed, 3 insertions(+), 6 deletions(-)

Modified: trunk/boost/mpl/aux_/config/operators.hpp
==============================================================================
--- trunk/boost/mpl/aux_/config/operators.hpp Sat Oct 12 05:40:59 2013 (r86259)
+++ trunk/boost/mpl/aux_/config/operators.hpp 2013-10-12 06:19:11 EDT (Sat, 12 Oct 2013) (r86260)
@@ -21,7 +21,6 @@
 #if !defined(BOOST_MPL_CFG_USE_OPERATORS_OVERLOADING) \
     && ( BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x610)) \
         || BOOST_WORKAROUND(__EDG_VERSION__, <= 245) \
- || BOOST_WORKAROUND(BOOST_MPL_CFG_GCC, <= 0x0295) \
         || BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(600)) \
         )
 

Modified: trunk/boost/mpl/aux_/config/typeof.hpp
==============================================================================
--- trunk/boost/mpl/aux_/config/typeof.hpp Sat Oct 12 05:40:59 2013 (r86259)
+++ trunk/boost/mpl/aux_/config/typeof.hpp 2013-10-12 06:19:11 EDT (Sat, 12 Oct 2013) (r86260)
@@ -18,7 +18,7 @@
 
 #if !defined(BOOST_MPL_CFG_HAS_TYPEOF) \
     && !defined(BOOST_MPL_PREPROCESSING_MODE) \
- && ( defined(BOOST_MPL_CFG_GCC) && BOOST_MPL_CFG_GCC >= 0x0302 \
+ && ( defined(BOOST_MPL_CFG_GCC) \
         || defined(__MWERKS__) && __MWERKS__ >= 0x3000 \
         )
 

Modified: trunk/boost/mpl/eval_if.hpp
==============================================================================
--- trunk/boost/mpl/eval_if.hpp Sat Oct 12 05:40:59 2013 (r86259)
+++ trunk/boost/mpl/eval_if.hpp 2013-10-12 06:19:11 EDT (Sat, 12 Oct 2013) (r86260)
@@ -29,8 +29,7 @@
     , typename BOOST_MPL_AUX_NA_PARAM(F2)
>
 struct eval_if
-#if BOOST_WORKAROUND(BOOST_MPL_CFG_GCC, >= 0x0300) \
- && BOOST_WORKAROUND(BOOST_MPL_CFG_GCC, BOOST_TESTED_AT(0x0304))
+#if BOOST_WORKAROUND(BOOST_MPL_CFG_GCC, BOOST_TESTED_AT(0x0304))
 {
     typedef typename if_<C,F1,F2>::type f_;
     typedef typename f_::type type;
@@ -49,8 +48,7 @@
     , typename F2
>
 struct eval_if_c
-#if BOOST_WORKAROUND(BOOST_MPL_CFG_GCC, >= 0x0300) \
- && BOOST_WORKAROUND(BOOST_MPL_CFG_GCC, BOOST_TESTED_AT(0x0304))
+#if BOOST_WORKAROUND(BOOST_MPL_CFG_GCC, BOOST_TESTED_AT(0x0304))
 {
     typedef typename if_c<C,F1,F2>::type f_;
     typedef typename f_::type type;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk