Boost logo

Boost Users :

From: Paul Giaccone (paulg_at_[hidden])
Date: 2006-07-10 04:39:05


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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net