25 Jul
2007
25 Jul
'07
12:54 a.m.
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 ) ); 2) Could the name be just BOOST_THROW_IF_FAILED (still too long)? 3) Might it not be nice to have a variant that would also take exception type as an argument? Best regards, Vsevolod Vlaskine ____________________________________________________________________________________ Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/