$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r70522 - branches/release/boost
From: dnljms_at_[hidden]
Date: 2011-03-24 17:01:37
Author: danieljames
Date: 2011-03-24 17:01:36 EDT (Thu, 24 Mar 2011)
New Revision: 70522
URL: http://svn.boost.org/trac/boost/changeset/70522
Log:
Utility/operators: [67268] Limit warning suppression to old versions of VC++, fixes #4432.
Text files modified: 
   branches/release/boost/operators.hpp |     4 +++-                                    
   1 files changed, 3 insertions(+), 1 deletions(-)
Modified: branches/release/boost/operators.hpp
==============================================================================
--- branches/release/boost/operators.hpp	(original)
+++ branches/release/boost/operators.hpp	2011-03-24 17:01:36 EDT (Thu, 24 Mar 2011)
@@ -8,6 +8,8 @@
 //  See http://www.boost.org/libs/utility/operators.htm for documentation.
 
 //  Revision History
+//  16 Dec 10 Limit warning suppression for 4284 to older versions of VC++
+//            (Matthew Bradbury, fixes #4432)
 //  07 Aug 08 Added "euclidean" spelling. (Daniel Frey)
 //  03 Apr 08 Make sure "convertible to bool" is sufficient
 //            for T::operator<, etc. (Daniel Frey)
@@ -88,7 +90,7 @@
 #   pragma set woff 1234
 #endif
 
-#if defined(BOOST_MSVC)
+#if BOOST_WORKAROUND(BOOST_MSVC, < 1600)
 #   pragma warning( disable : 4284 ) // complaint about return type of 
 #endif                               // operator-> not begin a UDT