Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86067 - trunk/boost/parameter/aux_
From: steveire_at_[hidden]
Date: 2013-09-30 11:58:35


Author: skelly
Date: 2013-09-30 11:58:35 EDT (Mon, 30 Sep 2013)
New Revision: 86067
URL: http://svn.boost.org/trac/boost/changeset/86067

Log:
Parameter: Remove obsolete GCC version checks.

Text files modified:
   trunk/boost/parameter/aux_/arg_list.hpp | 4 +---
   trunk/boost/parameter/aux_/set.hpp | 3 +--
   2 files changed, 2 insertions(+), 5 deletions(-)

Modified: trunk/boost/parameter/aux_/arg_list.hpp
==============================================================================
--- trunk/boost/parameter/aux_/arg_list.hpp Mon Sep 30 11:58:19 2013 (r86066)
+++ trunk/boost/parameter/aux_/arg_list.hpp 2013-09-30 11:58:35 EDT (Mon, 30 Sep 2013) (r86067)
@@ -85,7 +85,6 @@
 #endif
 
 #if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \
- || (BOOST_WORKAROUND(__GNUC__, < 3)) \
     || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
 
     // The overload set technique doesn't work with these older
@@ -227,7 +226,7 @@
         };
     };
 
-#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) && !BOOST_WORKAROUND(__GNUC__, == 2)
+#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
 # if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
     friend yes_tag operator*(arg_list, key_type*);
 # define BOOST_PARAMETER_CALL_HAS_KEY(next, key) (*(next*)0 * (key*)0)
@@ -267,7 +266,6 @@
     }
 
 #if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \
- || BOOST_WORKAROUND(__GNUC__, < 3) \
     || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
     // These older compilers don't support the overload set creation
     // idiom well, so we need to do all the return type calculation

Modified: trunk/boost/parameter/aux_/set.hpp
==============================================================================
--- trunk/boost/parameter/aux_/set.hpp Mon Sep 30 11:58:19 2013 (r86066)
+++ trunk/boost/parameter/aux_/set.hpp 2013-09-30 11:58:35 EDT (Mon, 30 Sep 2013) (r86067)
@@ -7,8 +7,7 @@
 
 # include <boost/detail/workaround.hpp>
 
-# if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) \
- && !BOOST_WORKAROUND(__GNUC__, < 3)
+# if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
 # include <boost/mpl/insert.hpp>
 # include <boost/mpl/set/set0.hpp>
 # include <boost/mpl/has_key.hpp>


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