$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2007-07-25 03:39:24
On Wed, July 25, 2007 02:54, Vsevolod Vlaskin wrote:
> Hi,
>
> A few comments:
>
> 1) The macro may be of a very limited usage, as comma
> inside will break it. Preprocessor will choke on this:
>
> THROW_INVALID_ARGUMENT_IF_FAIL( my_func( a, b, c ) );
Comma is not a real threat. This macro will compile fine:
THROW_INVALID_ARGUMENT_IF_FAIL( (my_func( a, b, c )) );
[...]
But the article written by Andrei Alexandrescu (see some posts before) seams to be really great
and much better as the current suggestion.
With Kind Regards,
Ovanes Markarian