
on Tue Sep 27 2011, Ben Robinson <icaretaker-AT-gmail.com> wrote:
Personally I am very uncomfortable with the use of exceptions to deal with failed assertions, and in a test that's just a bunch of compile-time assertions, I don't see *any* advantage whatsoever in using exceptions.
Exceptions are simply an implementation detail I am using instead of the compile error.
Yes; I think it would be better to use a different mechanism.
One benefit of writing unit tests which show something failing when it should, is for regression analysis.
Of course!
Rather than discussing this point in generalities, I will provide more examples of its usage, and hopefully I can better demonstrate the usefulness that way.
Good; looking forward to it. -- Dave Abrahams BoostPro Computing http://www.boostpro.com