Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84406 - trunk/libs/any
From: antoshkka_at_[hidden]
Date: 2013-05-21 14:58:41


Author: apolukhin
Date: 2013-05-21 14:58:40 EDT (Tue, 21 May 2013)
New Revision: 84406
URL: http://svn.boost.org/trac/boost/changeset/84406

Log:
Add workaround for MSVC-10 bug: disable test (partially refs #6999)
Text files modified:
   trunk/libs/any/any_test.cpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/libs/any/any_test.cpp
==============================================================================
--- trunk/libs/any/any_test.cpp (original)
+++ trunk/libs/any/any_test.cpp 2013-05-21 14:58:40 EDT (Tue, 21 May 2013)
@@ -292,6 +292,7 @@
         s = any_cast<const std::string&>(returning_string2());
         //s = any_cast<std::string&>(returning_string2());
 
+#if !defined(_MSC_VER) || _MSC_VER != 1600
 #ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
         //s = static_cast<std::string&&>(any_cast<std::string&>(returning_string1()));
         s = any_cast<std::string&&>(returning_string1());
@@ -299,6 +300,7 @@
         //s = static_cast<std::string&&>(any_cast<std::string&>(returning_string2()));
         s = any_cast<std::string&&>(returning_string2());
 #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