$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: [boost] BOOST_ASSERT_IF() [again]
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-05-05 17:27:21
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