Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86107 - trunk/boost/concept/detail
From: steveire_at_[hidden]
Date: 2013-10-01 04:42:50


Author: skelly
Date: 2013-10-01 04:42:50 EDT (Tue, 01 Oct 2013)
New Revision: 86107
URL: http://svn.boost.org/trac/boost/changeset/86107

Log:
Concept: Remove obsolete GCC version check.

Text files modified:
   trunk/boost/concept/detail/concept_def.hpp | 17 -----------------
   1 files changed, 0 insertions(+), 17 deletions(-)

Modified: trunk/boost/concept/detail/concept_def.hpp
==============================================================================
--- trunk/boost/concept/detail/concept_def.hpp Tue Oct 1 04:42:35 2013 (r86106)
+++ trunk/boost/concept/detail/concept_def.hpp 2013-10-01 04:42:50 EDT (Tue, 01 Oct 2013) (r86107)
@@ -15,7 +15,6 @@
 //
 // Also defines an equivalent SomeNameConcept for backward compatibility.
 // Maybe in the next release we can kill off the "Concept" suffix for good.
-#if BOOST_WORKAROUND(__GNUC__, <= 3)
 # define BOOST_concept(name, params) \
     template < BOOST_PP_SEQ_FOR_EACH_I(BOOST_CONCEPT_typename,~,params) > \
     struct name; /* forward declaration */ \
@@ -24,26 +23,10 @@
     struct BOOST_PP_CAT(name,Concept) \
       : name< BOOST_PP_SEQ_ENUM(params) > \
     { \
- /* at least 2.96 and 3.4.3 both need this */ \
- BOOST_PP_CAT(name,Concept)(); \
     }; \
                                                                                 \
     template < BOOST_PP_SEQ_FOR_EACH_I(BOOST_CONCEPT_typename,~,params) > \
     struct name
-#else
-# define BOOST_concept(name, params) \
- template < BOOST_PP_SEQ_FOR_EACH_I(BOOST_CONCEPT_typename,~,params) > \
- struct name; /* forward declaration */ \
- \
- template < BOOST_PP_SEQ_FOR_EACH_I(BOOST_CONCEPT_typename,~,params) > \
- struct BOOST_PP_CAT(name,Concept) \
- : name< BOOST_PP_SEQ_ENUM(params) > \
- { \
- }; \
- \
- template < BOOST_PP_SEQ_FOR_EACH_I(BOOST_CONCEPT_typename,~,params) > \
- struct name
-#endif
     
 // Helper for BOOST_concept, above.
 # define BOOST_CONCEPT_typename(r, ignored, index, t) \


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