mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 03:17:15 +02:00
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();
|
reset();
|
||||||
T x;
|
T x;
|
||||||
|
COPY_COUNT(0); MOVE_COUNT(0);
|
||||||
BOOST_DEDUCED_TYPENAME T::value_type a;
|
BOOST_DEDUCED_TYPENAME T::value_type a;
|
||||||
COPY_COUNT(1); MOVE_COUNT(0);
|
COPY_COUNT(1); MOVE_COUNT(0);
|
||||||
x.emplace(boost::move(a));
|
x.emplace(boost::move(a));
|
||||||
|
Reference in New Issue
Block a user