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
2001-11-19 20:57:57 +00:00
parent cc3a33a19c
commit a657e5c812
2 changed files with 6 additions and 6 deletions

View File

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