Is there a way to add or edit the message thrown by assert? I\'d like to use something like
assert(a == b, \"A must be equal to B\");
Then
BOOST_ASSERT_MSG(expre, msg)
http://www.boost.org/doc/libs/1_51_0/libs/utility/assert.html
You could either use that directly or copy Boost's code. Also note Boost assert is header only, so you could just grab that single file if you didn't want to install all of Boost.