Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85887 - trunk/boost/mpl
From: steveire_at_[hidden]
Date: 2013-09-25 04:26:46


Author: skelly
Date: 2013-09-25 04:26:46 EDT (Wed, 25 Sep 2013)
New Revision: 85887
URL: http://svn.boost.org/trac/boost/changeset/85887

Log:
MPL: Remove use of obsolete BOOST_MPL_CFG_NO_APPLY_TEMPLATE

It was only defined for MSVC versions which are no longer supported.

Text files modified:
   trunk/boost/mpl/apply.hpp | 6 ------
   trunk/boost/mpl/apply_fwd.hpp | 10 ----------
   2 files changed, 0 insertions(+), 16 deletions(-)

Modified: trunk/boost/mpl/apply.hpp
==============================================================================
--- trunk/boost/mpl/apply.hpp Wed Sep 25 04:26:31 2013 (r85886)
+++ trunk/boost/mpl/apply.hpp 2013-09-25 04:26:46 EDT (Wed, 25 Sep 2013) (r85887)
@@ -95,7 +95,6 @@
     (3,(0, BOOST_MPL_LIMIT_METAFUNCTION_ARITY, <boost/mpl/apply.hpp>))
 #include BOOST_PP_ITERATE()
 
-# if !defined(BOOST_MPL_CFG_NO_APPLY_TEMPLATE)
 // real C++ version is already taken care of
 # if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
 
@@ -119,7 +118,6 @@
 };
 
 # endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
-# endif // BOOST_MPL_CFG_NO_APPLY_TEMPLATE
 
 # undef AUX778076_APPLY_N_SPEC_PARAMS
 # undef AUX778076_APPLY_N_PARTIAL_SPEC_PARAMS
@@ -176,7 +174,6 @@
 };
 #endif
 
-# if !defined(BOOST_MPL_CFG_NO_APPLY_TEMPLATE)
 # if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
 
 #if i_ == BOOST_MPL_LIMIT_METAFUNCTION_ARITY
@@ -200,7 +197,6 @@
 
 # else // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
 
-#if !defined(BOOST_MPL_CFG_NO_APPLY_TEMPLATE)
 namespace aux {
 
 template<>
@@ -218,10 +214,8 @@
 };
 
 } // namespace aux
-#endif
 
 # endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
-# endif // BOOST_MPL_CFG_NO_APPLY_TEMPLATE
 
 # undef i_
 

Modified: trunk/boost/mpl/apply_fwd.hpp
==============================================================================
--- trunk/boost/mpl/apply_fwd.hpp Wed Sep 25 04:26:31 2013 (r85886)
+++ trunk/boost/mpl/apply_fwd.hpp 2013-09-25 04:26:46 EDT (Wed, 25 Sep 2013) (r85887)
@@ -42,12 +42,6 @@
 # include <boost/preprocessor/iterate.hpp>
 # include <boost/preprocessor/cat.hpp>
 
-// agurt, 15/jan/02: top-level 'apply' template gives an ICE on MSVC
-// (for known reasons)
-#if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
-# define BOOST_MPL_CFG_NO_APPLY_TEMPLATE
-#endif
-
 namespace boost { namespace mpl {
 
 // local macro, #undef-ined at the end of the header
@@ -64,8 +58,6 @@
     BOOST_MPL_PP_PARAMS(n, param) \
     /**/
 
-# if !defined(BOOST_MPL_CFG_NO_APPLY_TEMPLATE)
-
 #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
 // forward declaration
 template<
@@ -78,8 +70,6 @@
 }
 #endif
 
-# endif // BOOST_MPL_CFG_NO_APPLY_TEMPLATE
-
 #define BOOST_PP_ITERATION_PARAMS_1 \
     (3,(0, BOOST_MPL_LIMIT_METAFUNCTION_ARITY, <boost/mpl/apply_fwd.hpp>))
 #include BOOST_PP_ITERATE()


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