Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-08-13 08:57:21


shared_ptr_test.cpp fails at line 191, which is

BOOST_TEST(p);

where p is a shared_ptr<>. Since p can be used in boolean contexts such as
if(p), this worked with the old implementation of BOOST_TEST. I can "fix"
the test to read

BOOST_TEST(p? true: false);

but is this the right thing to do?

--
Peter Dimov
http://www.mmltd.net/pdimov

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