2
0
mirror of https://github.com/boostorg/thread.git synced 2026-02-09 11:32:12 +00:00

merged from trunk

[SVN r45844]
This commit is contained in:
Eric Niebler
2008-05-28 00:03:07 +00:00
parent aaee6da3b6
commit 70ffbff92a
20 changed files with 1339 additions and 791 deletions

View File

@@ -80,7 +80,7 @@ void test_unique_lock_move_from_rvalue_on_construction()
BOOST_CHECK(l.mutex()==&m);
}
namespace user
namespace user_test_ns
{
template<typename T>
T move(T& t)
@@ -103,9 +103,9 @@ namespace user
void test_move_for_user_defined_type_unaffected()
{
user::nc src;
user::nc dest=move(src);
BOOST_CHECK(user::move_called);
user_test_ns::nc src;
user_test_ns::nc dest=move(src);
BOOST_CHECK(user_test_ns::move_called);
}
boost::unit_test_framework::test_suite* init_unit_test_suite(int, char*[])