Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72732 - sandbox/bloom_filter/trunk/libs/bloom_filter/test
From: cpp.cabrera_at_[hidden]
Date: 2011-06-24 04:27:49


Author: alejandro
Date: 2011-06-24 04:27:48 EDT (Fri, 24 Jun 2011)
New Revision: 72732
URL: http://svn.boost.org/trac/boost/changeset/72732

Log:
Removed move assignment operator test. It is pointless, since it would be compiler generated.
Text files modified:
   sandbox/bloom_filter/trunk/libs/bloom_filter/test/regression.cpp | 10 ----------
   1 files changed, 0 insertions(+), 10 deletions(-)

Modified: sandbox/bloom_filter/trunk/libs/bloom_filter/test/regression.cpp
==============================================================================
--- sandbox/bloom_filter/trunk/libs/bloom_filter/test/regression.cpp (original)
+++ sandbox/bloom_filter/trunk/libs/bloom_filter/test/regression.cpp 2011-06-24 04:27:48 EDT (Fri, 24 Jun 2011)
@@ -53,16 +53,6 @@
   BOOST_CHECK_EQUAL(bloom1.count(), bloom2.count());
 }
 
-#ifdef BOOST_HAS_RVALUE_REFS
-BOOST_AUTO_TEST_CASE(moveConstructor) {
- int elems[5] = {1,2,3,4,5};
- bloom_filter<int, 8> bloom1(elems, elems+5);
- bloom_filter<int, 8> bloom2 = std::move(bloom1);
-
- BOOST_CHECK_EQUAL(bloom2.count(), 5ul);
-}
-#endif
-
 BOOST_AUTO_TEST_CASE(assignment)
 {
   bloom_filter<int, 8> bloom1;


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