Boost logo

Boost Users :

From: Vsevolod Vlaskin (vlaskine_at_[hidden])
Date: 2007-07-24 20:54:53


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/


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net