Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74316 - trunk/libs/unordered/test/unordered
From: dnljms_at_[hidden]
Date: 2011-09-08 17:10:20


Author: danieljames
Date: 2011-09-08 17:10:18 EDT (Thu, 08 Sep 2011)
New Revision: 74316
URL: http://svn.boost.org/trac/boost/changeset/74316

Log:
Unordered: Extra check for vacpp's odd failure.

VACPP 11.0 appears to be detecting a move for nothing more than a
default initialised value.
Text files modified:
   trunk/libs/unordered/test/unordered/unnecessary_copy_tests.cpp | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: trunk/libs/unordered/test/unordered/unnecessary_copy_tests.cpp
==============================================================================
--- trunk/libs/unordered/test/unordered/unnecessary_copy_tests.cpp (original)
+++ trunk/libs/unordered/test/unordered/unnecessary_copy_tests.cpp 2011-09-08 17:10:18 EDT (Thu, 08 Sep 2011)
@@ -203,6 +203,7 @@
     {
         reset();
         T x;
+ COPY_COUNT(0); MOVE_COUNT(0);
         BOOST_DEDUCED_TYPENAME T::value_type a;
         COPY_COUNT(1); MOVE_COUNT(0);
         x.emplace(boost::move(a));


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