forked from boostorg/unordered
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:
@ -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));
|
||||
|
Reference in New Issue
Block a user