Boost logo

Boost :

Subject: Re: [boost] [BOOST_ASSERT] any one against improving debug support?
From: Craig Henderson (cdm.henderson_at_[hidden])
Date: 2009-06-18 09:18:16


> The current difinition of BOOST_ASSERT is a pain to use with
> the debugger and Boost.Test because it doesn't trigger a break-point.
Agreed.

> Does anyone object to defining it like this in <boost/assert.hpp>
>
> #if (BOOST_MSVC >= 1400)
> #include <crtdbg.h>
> #define BOOST_ASSERT _ASSERTE
> #endif
>

I'm very happy with this change.


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