Hi Mathias,

Thanks for pointing me to the assert_as_exceptions. I ended up downloading the smart_assert library from John Torjo's (the author) site: http://www.torjo.com/portofolio.html. It needed a few tweaks to get it to works with CMAke, but it works beautifully :)

Bye,
Daan



2013/10/14 Mathias Gaunard <mathias.gaunard@ens-lyon.org>
On 14/10/13 17:11, Daan Baas wrote:
Howdy,

I was searching for an intelligent assert facility with serveral debug
levels, that asserts when it is run debug mode and throws in release
mode. That is how i ran into Boost's SMART_ASSERT
(http://www.drdobbs.com/cpp/enhancing-assertions/184403745). However, I
cannot find anything about it that was posted after 2003 nor can I find
it on the Boost site. Does anyone know what happened to the project? Was
is cancelled or did it make it into Boost under another name?

I haven't heard of this library, but adding throwing behaviour on top of Boost.Assert is pretty simple.

This file in the NT2 library does something like that.
<https://github.com/MetaScale/nt2/blob/master/modules/sdk/error/include/nt2/sdk/error/assert_as_exceptions.hpp>
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users