bind_dm_test.cpp added.

[SVN r27629]
This commit is contained in:
Peter Dimov
2005-03-13 15:34:55 +00:00
parent ccd0394b86
commit 28cb8f8206
4 changed files with 79 additions and 4 deletions
+2 -2
View File
@@ -390,7 +390,7 @@ void member_function_test()
bind(&X::g8, x, 1, 2, 3, 4, 5, 6, 7, 8)();
bind(&X::g8, ref(x), 1, 2, 3, 4, 5, 6, 7, 8)();
BOOST_TEST( bind(&X::hash, _1)(x) == 23558 );
BOOST_TEST( x.hash == 23558 );
}
void member_function_void_test()
@@ -480,7 +480,7 @@ void member_function_void_test()
bind(&V::g8, v, 1, 2, 3, 4, 5, 6, 7, 8)();
bind(&V::g8, ref(v), 1, 2, 3, 4, 5, 6, 7, 8)();
BOOST_TEST( bind(&V::hash, _1)(v) == 23558 );
BOOST_TEST( v.hash == 23558 );
}
void nested_bind_test()