9 Jul
2008
9 Jul
'08
5:27 p.m.
Michiel Helvensteijn:
I would like to hear from the developer on this.
The reason I used a ?: operator is to make BOOST_ASSERT an expression. It's supposed to be a drop-in replacement for assert, and I think that assert expands an expression and not a statement. Maybe we ought to decorate assertion_failed with __attribute__((noreturn))? Or replace the call to assertion_failed with (assertion_failed(...), abort())?