
17 Jan
2011
17 Jan
'11
3:15 p.m.
On Mon, Jan 17, 2011 at 11:06 PM, Beman Dawes <bdawes@acm.org> wrote:
namespace boost { namespace assertion { namespace detail { inline void extended_assert_failed(char const * msg, char const * function, char const * file, long line) { std::cerr << "***** Internal Program Error - Assertion Failed *****\n"; std::cerr << file << '(' << line << "): error in " << function << ": " << msg << std::endl; std::exit(99999); } }}} // boost::assertion::detail
This caught my eye. Do you really want to hard-code the exit value to 99999? Or would you rather use std::abort() just like the normal cassert implementation does? -- Dean Michael Berris about.me/deanberris