Boost logo

Boost :

From: Maik Beckmann (beckmann.maik_at_[hidden])
Date: 2008-06-12 08:56:54


Am Donnerstag 12 Juni 2008 14:45:43 schrieb Jurko Gospodnetić:
> Hi Thorsten.
>
> Does BOOST_ASSERT ( ( IF ) && ( THEN ) ) help?
>

Hm, since the assert fails if
  ( IF )
or
  (THEN)
evaluates to false I guess you actually mean
  BOOST_ASSERT ( (! IF ) || ( THEN ) )
where
  (THEN)
is only tested if
  (! IF)
is false which is exactly the case if
  ( IF )
is true.

Hoping he got it right,
 -- Maik


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