Somewhere in the E.U., le 29/01/2003
Bonjour
I guess I am being denser than usual, but I just can't seem to
find the solution to the following problem:
given
boost::unit_test_framework::test_suite * test = BOOST_TEST_SUITE("");
if I have the following
template<typename T> void atanh_test(){}
then I can use the following invocation
test->add(BOOST_TEST_CASE(&atanh_test<float>));
however, if I have
template<typename T>
class atanh_tester
{
public:
atanh_tester(char *)
{
}
void operator () ()
{
// whatever
}
};
how can I add a test case to "test" buit from an instance of
atanh_tester<float> ?
Merci
Hubert Holin
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost