Re: [boost] BOOST_ASSERT and __assume on MSVC

10 Oct
2005
10 Oct
'05
9:05 p.m.
In-Reply-To: <4349965D.5030005@ezequal.com> chaos@ezequal.com (Jason Hise) wrote (abridged):
Isn't that an abuse of assert?
No. The behaviour is well defined.
Why do you need both types of checks in the same place?
To repeat what I said in my first post in this thread: Although I sympathise with the view that a failed assert should be considered undefined behaviour, I personally find the current documented behaviour quite useful. I sometimes use assert as a convenient way of saying, "issue a warning message, but only in debug builds." -- Dave Harris, Nottingham, UK.
7188
Age (days ago)
7188
Last active (days ago)
0 comments
1 participants
participants (1)
-
brangdon@cix.compulink.co.uk