Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-09-21 18:08:00


Darren Cook wrote:

> 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).

Excuse me for my jumping late into the thread, but what are the situations
where one would want to use a BOOST_ASSERT with __assume instead of assert?


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