Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-02-05 08:51:02


David Abrahams wrote:

>>> Could the authors of the libraries (or the reviewers) please grep
>>> through the code and change the cassert (or assert.h) includes to
>>> boost/assert.hpp, and consequently, change assert(...) to
>>> BOOST_ASSERT(...)?
>>
>> It's a very good idea, and I think we should do it.
>
> Although I guess we have to be pretty careful, since things like
> polymorphic_downcast are documented as using the standard assert
> macro. Technically speaking, it's a breaking change.

BOOST_ASSERT defaults to assert, though. So it might be acceptable, even
though BOOST_ASSERT wasn't meant to be used in interfaces.


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