Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85892 - trunk/boost/mpl
From: steveire_at_[hidden]
Date: 2013-09-25 06:28:10


Author: skelly
Date: 2013-09-25 06:28:10 EDT (Wed, 25 Sep 2013)
New Revision: 85892
URL: http://svn.boost.org/trac/boost/changeset/85892

Log:
MPL: Remove assert workaround for no-longer-supported MSVC.

Text files modified:
   trunk/boost/mpl/assert.hpp | 14 +-------------
   1 files changed, 1 insertions(+), 13 deletions(-)

Modified: trunk/boost/mpl/assert.hpp
==============================================================================
--- trunk/boost/mpl/assert.hpp Wed Sep 25 06:27:56 2013 (r85891)
+++ trunk/boost/mpl/assert.hpp 2013-09-25 06:28:10 EDT (Wed, 25 Sep 2013) (r85892)
@@ -293,18 +293,7 @@
 
 // BOOST_MPL_ASSERT_NOT((pred<x,...>))
 
-#if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
-# define BOOST_MPL_ASSERT_NOT(pred) \
-enum { \
- BOOST_PP_CAT(mpl_assertion_in_line_,BOOST_MPL_AUX_PP_COUNTER()) = sizeof( \
- boost::mpl::assertion<false>::failed( \
- boost::mpl::assert_not_arg( (void (*) pred)0, 1 ) \
- ) \
- ) \
-}\
-/**/
-#else
-# define BOOST_MPL_ASSERT_NOT(pred) \
+#define BOOST_MPL_ASSERT_NOT(pred) \
 BOOST_MPL_AUX_ASSERT_CONSTANT( \
       std::size_t \
     , BOOST_PP_CAT(mpl_assertion_in_line_,BOOST_MPL_AUX_PP_COUNTER()) = sizeof( \
@@ -314,7 +303,6 @@
         ) \
    ) \
 /**/
-#endif
 
 #endif
 


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