Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-12-03 08:43:48


Just a simple observation.

The test_case hierarchy can be simplified considerably by making the
'constructor' BOOST_TEST_CASE (why is his a macro?) to take a function
object.

boost::bind can then be used to emulate the functionality, although I'm not
sure whether a dependency on bind.hpp would be a good thing since it will
cause the unit tests to fail weherever bind.hpp fails to compile.

--
Peter Dimov
Multi Media Ltd.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk