|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86676 - branches/release/libs/variant/test
From: antoshkka_at_[hidden]
Date: 2013-11-13 07:24:00
Author: apolukhin
Date: 2013-11-13 07:24:00 EST (Wed, 13 Nov 2013)
New Revision: 86676
URL: http://svn.boost.org/trac/boost/changeset/86676
Log:
Merge some more changes to variant that accidentaly were not merged in r86650
Text files modified:
branches/release/libs/variant/test/rvalue_test.cpp | 40 ----------------------------------------
1 files changed, 0 insertions(+), 40 deletions(-)
Modified: branches/release/libs/variant/test/rvalue_test.cpp
==============================================================================
--- branches/release/libs/variant/test/rvalue_test.cpp Wed Nov 13 07:23:33 2013 (r86675)
+++ branches/release/libs/variant/test/rvalue_test.cpp 2013-11-13 07:24:00 EST (Wed, 13 Nov 2013) (r86676)
@@ -92,46 +92,6 @@
#else
-#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
-
-void run()
-{
- // Making sure that internals of Boost.Move do not interfere with
- // internals of Boost.Variant and in case of C++03 or C++98 compilation
- // is still possible.
- typedef boost::variant<int, move_copy_conting_class> variant_I_type;
- variant_I_type v1, v2;
- v1 = move_copy_conting_class();
- v2 = v1;
- v2 = boost::move(v1);
- v1.swap(v2);
-
- move_copy_conting_class val;
- v2 = boost::move(val);
- v2 = 10;
-
- variant_I_type v3(boost::move(val));
- variant_I_type v4(boost::move(v1));
-}
-
-void run1()
-{
- BOOST_CHECK(true);
-}
-
-void run_move_only()
-{
- BOOST_CHECK(true);
-}
-
-void run_moves_are_noexcept()
-{
- BOOST_CHECK(true);
-}
-
-#else
-
-
void run()
{
typedef boost::variant<int, move_copy_conting_class> variant_I_type;
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