Reversed prior commit - tests passing references for the implicit

object parameter to an unbound member function pointer have been
  added again.


[SVN r11732]
This commit is contained in:
Douglas Gregor committed 2001-11-19 20:57:57 +00:00
1 parent cc3a33a19c
commit a657e5c812
2 files changed
+6 -6

No files matched your search

+3 -3
View File
@@ -598,9 +598,9 @@ test_member_functions()
BOOST_TEST(f1_2(&one) == 2);
BOOST_TEST(f1_2(&five) == 10);
boost::function<int, X*, int> f2(&X::plus);
BOOST_TEST(f2(&one, 3) == 4);
BOOST_TEST(f2(&five, 4) == 9);
boost::function<int, X&, int> f2(&X::plus);
BOOST_TEST(f2(one, 3) == 4);
BOOST_TEST(f2(five, 4) == 9);
}
int test_main(int, char* [])