17 May
2011
17 May
'11
12:53 p.m.
BOOST_THROW_EXCEPTION. The class derives from std::runtime_error.
The thing is that my program crashes and doesn't catch the exception if I use this macro, but if I use a language throw it behaves correctly.
To see what BOOST_THROW_EXCEPTION does exactly, read the following: http://www.boost.org/doc/libs/1_46_1/libs/exception/doc/BOOST_THROW_EXCEPTIO... http://www.boost.org/doc/libs/1_46_1/libs/exception/doc/throw_exception.html