Detail: Remove obsolete MSVC version checks.

[SVN r86039]
This commit is contained in:
Stephen Kelly
2013-09-30 00:21:39 +00:00
parent 1de858a76f
commit c8ca7d9788
3 changed files with 2 additions and 14 deletions

View File

@ -57,9 +57,7 @@ namespace boost
identifier() {} identifier() {}
explicit identifier( value_type v ) : m_value(v) {} explicit identifier( value_type v ) : m_value(v) {}
#if !defined(BOOST_MSVC) || BOOST_MSVC > 1300 // 1300 == VC++ 7.0 bug workaround
private: private:
#endif
T m_value; T m_value;
}; };

View File

@ -55,8 +55,7 @@ namespace is_incrementable_
# endif # endif
# if BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3202)) \ # if BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3202))
|| BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
# define BOOST_comma(a,b) (a) # define BOOST_comma(a,b) (a)
# else # else
// In case an operator++ is found that returns void, we'll use ++x,0 // In case an operator++ is found that returns void, we'll use ++x,0

View File

@ -74,7 +74,7 @@ namespace boost { namespace detail {
template <class Number> template <class Number>
struct is_signed 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))); BOOST_STATIC_CONSTANT(bool, value = (Number(-1) < Number(0)));
#else #else
BOOST_STATIC_CONSTANT(bool, value = std::numeric_limits<Number>::is_signed); BOOST_STATIC_CONSTANT(bool, value = std::numeric_limits<Number>::is_signed);
@ -128,15 +128,6 @@ namespace boost { namespace detail {
private: private:
typedef Integer integer_type; typedef Integer integer_type;
typedef std::numeric_limits<integer_type> x; 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: public:
typedef typename typedef typename
if_true<(int(x::is_signed) if_true<(int(x::is_signed)