
6 May
2009
6 May
'09
12:11 a.m.
Thorsten Ottosen wrote:
Hi Everyone,
Does anyone oppose that I add this macro to supplement BOOST_ASSERT()? It's defined simply as
#define BOOST_ASSERT_IF(IF,X) BOOST_ASSERT( (!(IF)) || (X) )
I think it renders assertions somewhat easier to read.
-Thorsten _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Could you provide an usage example please, I understand the macro but I don't understand the usage pattern. -Richard Holden Quest Software