
5 Feb
2006
5 Feb
'06
1:51 p.m.
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.