10 Jul
2006
10 Jul
'06
8:39 a.m.
Josh wrote:
test->add(BOOST_TEST_CASE( &MyTest ), 0); [text unrelated to my reply trimmed... would others remember to do the same, please]
I don't know whether it would make any difference at all, but I don't see why the line above is written as shown and not as just: test->add(BOOST_TEST_CASE( MyTest ); (unless your form is an alternative syntax that I am not aware of). I don't known why you need the extra parameter - your function MyTest doesn't take any parameters, and in any case, these would be bound rather than passed directly.