Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86057 - trunk/boost/concept
From: steveire_at_[hidden]
Date: 2013-09-30 11:54:47


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

Log:
Concept: Remove obsolete GCC version checks.

Text files modified:
   trunk/boost/concept/assert.hpp | 3 +--
   trunk/boost/concept/usage.hpp | 8 --------
   2 files changed, 1 insertions(+), 10 deletions(-)

Modified: trunk/boost/concept/assert.hpp
==============================================================================
--- trunk/boost/concept/assert.hpp Mon Sep 30 11:54:32 2013 (r86056)
+++ trunk/boost/concept/assert.hpp 2013-09-30 11:54:47 EDT (Mon, 30 Sep 2013) (r86057)
@@ -18,8 +18,7 @@
 # if !defined(BOOST_NO_OLD_CONCEPT_SUPPORT) \
     && !defined(BOOST_NO_SFINAE) \
                                                                                     \
- && !(BOOST_WORKAROUND(__GNUC__, == 3) && BOOST_WORKAROUND(__GNUC_MINOR__, < 4)) \
- && !(BOOST_WORKAROUND(__GNUC__, == 2))
+ && !(BOOST_WORKAROUND(__GNUC__, == 3) && BOOST_WORKAROUND(__GNUC_MINOR__, < 4))
 
 // Note: gcc-2.96 through 3.3.x have some SFINAE, but no ability to
 // check for the presence of particularmember functions.

Modified: trunk/boost/concept/usage.hpp
==============================================================================
--- trunk/boost/concept/usage.hpp Mon Sep 30 11:54:32 2013 (r86056)
+++ trunk/boost/concept/usage.hpp 2013-09-30 11:54:47 EDT (Mon, 30 Sep 2013) (r86057)
@@ -10,12 +10,6 @@
 
 namespace boost { namespace concepts {
 
-# if BOOST_WORKAROUND(__GNUC__, == 2)
-
-# define BOOST_CONCEPT_USAGE(model) ~model()
-
-# else
-
 template <class Model>
 struct usage_requirements
 {
@@ -37,8 +31,6 @@
 
 # endif
 
-# endif
-
 }} // namespace boost::concepts
 
 #endif // BOOST_CONCEPT_USAGE_DWA2006919_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