Re: [boost] BOOST_ASSUME_review_needed?

22 Sep
2005
22 Sep
'05
5:54 p.m.
In-Reply-To: <4331E462.8000700@dcook.org> darren@dcook.org (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.
7205
Age (days ago)
7205
Last active (days ago)
0 comments
1 participants
participants (1)
-
brangdon@cix.compulink.co.uk