Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86039 - trunk/boost/detail
From: steveire_at_[hidden]
Date: 2013-09-29 20:21:39


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

Log:
Detail: Remove obsolete MSVC version checks.

Text files modified:
   trunk/boost/detail/identifier.hpp | 2 --
   trunk/boost/detail/is_incrementable.hpp | 3 +--
   trunk/boost/detail/numeric_traits.hpp | 11 +----------
   trunk/boost/detail/ob_compressed_pair.hpp | 11 -----------
   4 files changed, 2 insertions(+), 25 deletions(-)

Modified: trunk/boost/detail/identifier.hpp
==============================================================================
--- trunk/boost/detail/identifier.hpp Sun Sep 29 20:21:22 2013 (r86038)
+++ trunk/boost/detail/identifier.hpp 2013-09-29 20:21:39 EDT (Sun, 29 Sep 2013) (r86039)
@@ -57,9 +57,7 @@
       identifier() {}
       explicit identifier( value_type v ) : m_value(v) {}
 
- #if !defined(BOOST_MSVC) || BOOST_MSVC > 1300 // 1300 == VC++ 7.0 bug workaround
     private:
- #endif
       T m_value;
     };
 

Modified: trunk/boost/detail/is_incrementable.hpp
==============================================================================
--- trunk/boost/detail/is_incrementable.hpp Sun Sep 29 20:21:22 2013 (r86038)
+++ trunk/boost/detail/is_incrementable.hpp 2013-09-29 20:21:39 EDT (Sun, 29 Sep 2013) (r86039)
@@ -55,8 +55,7 @@
   
 # endif
 
-# if BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3202)) \
- || BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
+# if BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3202))
 # define BOOST_comma(a,b) (a)
 # else
   // In case an operator++ is found that returns void, we'll use ++x,0

Modified: trunk/boost/detail/numeric_traits.hpp
==============================================================================
--- trunk/boost/detail/numeric_traits.hpp Sun Sep 29 20:21:22 2013 (r86038)
+++ trunk/boost/detail/numeric_traits.hpp 2013-09-29 20:21:39 EDT (Sun, 29 Sep 2013) (r86039)
@@ -74,7 +74,7 @@
   template <class Number>
   struct is_signed
   {
-#if defined(BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS) || defined(BOOST_MSVC) && BOOST_MSVC <= 1300
+#if defined(BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS)
     BOOST_STATIC_CONSTANT(bool, value = (Number(-1) < Number(0)));
 #else
     BOOST_STATIC_CONSTANT(bool, value = std::numeric_limits<Number>::is_signed);
@@ -128,15 +128,6 @@
    private:
       typedef Integer integer_type;
       typedef std::numeric_limits<integer_type> x;
-# if defined(BOOST_MSVC) && BOOST_MSVC <= 1300
- // for some reason, MSVC asserts when it shouldn't unless we make these
- // local definitions
- BOOST_STATIC_CONSTANT(bool, is_integer = x::is_integer);
- BOOST_STATIC_CONSTANT(bool, is_specialized = x::is_specialized);
-
- BOOST_STATIC_ASSERT(is_integer);
- BOOST_STATIC_ASSERT(is_specialized);
-# endif
    public:
       typedef typename
       if_true<(int(x::is_signed)

Modified: trunk/boost/detail/ob_compressed_pair.hpp
==============================================================================
--- trunk/boost/detail/ob_compressed_pair.hpp Sun Sep 29 20:21:22 2013 (r86038)
+++ trunk/boost/detail/ob_compressed_pair.hpp 2013-09-29 20:21:39 EDT (Sun, 29 Sep 2013) (r86039)
@@ -167,17 +167,6 @@
    compressed_pair_1(const ::boost::compressed_pair<T1,T2>& x)
       : T2(x.second()), _first(x.first()) {}
 
-#if defined(BOOST_MSVC) && BOOST_MSVC <= 1300
- // Total weirdness. If the assignment to _first is moved after
- // the call to the inherited operator=, then this breaks graph/test/graph.cpp
- // by way of iterator_adaptor.
- compressed_pair_1& operator=(const compressed_pair_1& x) {
- _first = x._first;
- T2::operator=(x);
- return *this;
- }
-#endif
-
    first_reference first() { return _first; }
    first_const_reference first() const { return _first; }
 


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