Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 2000-12-17 10:15:39

At 02:52 PM 12/16/2000 -0800, Jesse Jones wrote:

>... But
>saying that we cannot use assert because someone *may* define NDEBUG
>inconsistently sounds like a terrible idea to me. At some point you have
>to make a trade off. If the vendors would do something as simple as
>adding asserts to std::string and std::vector to catch range errors I
>have no doubt that this would quickly save many man years of debugging
>time. Of course this may cause problems for a few because of the ODR, but

>I think the balance very much tilts in favor of using asserts.



Boost list run by bdawes at, gregod at, cpdaniel at, john at