|
Boost : |
From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2005-09-13 09:26:39
I'm looking for references in boost library tests as to how to
use BOOST_ASSERT correctly. I thus found the test_diamond tests
in boost/serialization.
It appears that the way BOOST_ASSERT is used there doesn't do
anything in release mode, i.e. the expression isn't evaluated
at all. (I modified the expression and the test still passed.)
(As it happens, I was looking specifically for applications of
http://www.boost.org/libs/utility/assert.html, as I want to use
it in my own tests.)
Regards,
Stefan
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk