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.

[SVN r74316]
This commit is contained in:
Daniel James
2011-09-08 21:10:18 +00:00
parent 8ecdee5a93
commit ccd895a356

View File

@ -203,6 +203,7 @@ namespace unnecessary_copy_tests
{
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));