Boost logo

Boost :

From: Dave Harris (brangdon_at_[hidden])
Date: 2005-09-22 12:54:25

In-Reply-To: <4331E462.8000700_at_[hidden]>
darren_at_[hidden] (Darren Cook) wrote (abridged):
> But instead of adding BOOST_ASSUME() I'd prefer the use of _assume() in
> BOOST_ASSERT be controlled by a define and off by default. It is a
> relatively minor optimization so could just be enabled by those who need
> the speed and know their code does not do ASSERT(false).

If it is controlled by a #define, switching it on would usually affect a
large amount of code, with many ASSERTs written by other people. It seems
too risky to me.

-- Dave Harris, Nottingham, UK.

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