Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83090 - sandbox/tuple-move/libs/tuple/test
From: adam.wulkiewicz_at_[hidden]
Date: 2013-02-22 14:18:46


Author: awulkiew
Date: 2013-02-22 14:18:46 EST (Fri, 22 Feb 2013)
New Revision: 83090
URL: http://svn.boost.org/trac/boost/changeset/83090

Log:
Removed one test because of differencies on compilers refered to implicit move assignment operator generation.
Text files modified:
   sandbox/tuple-move/libs/tuple/test/tuple_move.cpp | 40 ++++++++++++++++++++--------------------
   1 files changed, 20 insertions(+), 20 deletions(-)

Modified: sandbox/tuple-move/libs/tuple/test/tuple_move.cpp
==============================================================================
--- sandbox/tuple-move/libs/tuple/test/tuple_move.cpp (original)
+++ sandbox/tuple-move/libs/tuple/test/tuple_move.cpp 2013-02-22 14:18:46 EST (Fri, 22 Feb 2013)
@@ -232,17 +232,17 @@
         a = b;
         BOOST_CHECK(get<0>(a.t).last_op() == cm::copy_assign);
         a = boost::move(b);
-#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
- BOOST_CHECK(get<0>(a.t).last_op() == cm::copy_assign);
-#else
- BOOST_CHECK(get<0>(a.t).last_op() == cm::move_assign);
-#endif
+//#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
+// BOOST_CHECK(get<0>(a.t).last_op() == cm::copy_assign);
+//#else
+// BOOST_CHECK(get<0>(a.t).last_op() == cm::move_assign);
+//#endif
         a = foo< boost::tuple<cm> >();
-#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
- BOOST_CHECK(get<0>(a.t).last_op() == cm::copy_assign);
-#else
- BOOST_CHECK(get<0>(a.t).last_op() == cm::move_assign);
-#endif
+//#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
+// BOOST_CHECK(get<0>(a.t).last_op() == cm::copy_assign);
+//#else
+// BOOST_CHECK(get<0>(a.t).last_op() == cm::move_assign);
+//#endif
     }
     
     {
@@ -251,17 +251,17 @@
         a = b;
         BOOST_CHECK(cm_ref.last_op() == cm::copy_assign);
         a = boost::move(b);
-#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
- BOOST_CHECK(cm_ref.last_op() == cm::copy_assign);
-#else
- BOOST_CHECK(cm_ref.last_op() == cm::move_assign);
-#endif
+//#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
+// BOOST_CHECK(cm_ref.last_op() == cm::copy_assign);
+//#else
+// BOOST_CHECK(cm_ref.last_op() == cm::move_assign);
+//#endif
         a = foo< cons<cm, cons<int, null_type> > >();
-#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
- BOOST_CHECK(cm_ref.last_op() == cm::copy_assign);
-#else
- BOOST_CHECK(cm_ref.last_op() == cm::move_assign);
-#endif
+//#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
+// BOOST_CHECK(cm_ref.last_op() == cm::copy_assign);
+//#else
+// BOOST_CHECK(cm_ref.last_op() == cm::move_assign);
+//#endif
     }
 
     return 0;


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