mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-29 12:07:36 +02:00
Added move-assign test
[SVN r80343]
This commit is contained in:
@ -108,6 +108,9 @@ void test()
|
|||||||
return_type2 v2 = move_me(generate2());
|
return_type2 v2 = move_me(generate2());
|
||||||
BOOST_TEST(copies == 0);
|
BOOST_TEST(copies == 0);
|
||||||
|
|
||||||
|
v2 = move_me(generate2());
|
||||||
|
BOOST_TEST(copies == 0);
|
||||||
|
|
||||||
std::cout << "Copies: " << copies << std::endl;
|
std::cout << "Copies: " << copies << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user