Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86035 - trunk/boost
From: steveire_at_[hidden]
Date: 2013-09-29 20:20:43


Author: skelly
Date: 2013-09-29 20:20:43 EDT (Sun, 29 Sep 2013)
New Revision: 86035
URL: http://svn.boost.org/trac/boost/changeset/86035

Log:
StaticAssert: Remove obsolete MSVC version check.

Text files modified:
   trunk/boost/static_assert.hpp | 9 +--------
   1 files changed, 1 insertions(+), 8 deletions(-)

Modified: trunk/boost/static_assert.hpp
==============================================================================
--- trunk/boost/static_assert.hpp Sun Sep 29 20:20:31 2013 (r86034)
+++ trunk/boost/static_assert.hpp 2013-09-29 20:20:43 EDT (Sun, 29 Sep 2013) (r86035)
@@ -117,14 +117,7 @@
 //
 #if !defined(BOOST_BUGGY_INTEGRAL_CONSTANT_EXPRESSIONS)
 
-#if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
-// __LINE__ macro broken when -ZI is used see Q199057
-// fortunately MSVC ignores duplicate typedef's.
-#define BOOST_STATIC_ASSERT( B ) \
- typedef ::boost::static_assert_test<\
- sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)( B ) >)\
- > boost_static_assert_typedef_
-#elif defined(BOOST_MSVC) && defined(BOOST_NO_CXX11_VARIADIC_MACROS)
+#if defined(BOOST_MSVC) && defined(BOOST_NO_CXX11_VARIADIC_MACROS)
 #define BOOST_STATIC_ASSERT( B ) \
    typedef ::boost::static_assert_test<\
       sizeof(::boost::STATIC_ASSERTION_FAILURE< BOOST_STATIC_ASSERT_BOOL_CAST ( B ) >)>\


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