forked from boostorg/exception
Merging changes from trunk.
[SVN r58421]
This commit is contained in:
@ -9,9 +9,19 @@
|
||||
#include <boost/exception/info.hpp>
|
||||
#include <boost/exception/diagnostic_information.hpp>
|
||||
#include <boost/detail/lightweight_test.hpp>
|
||||
#include <stdlib.h>
|
||||
|
||||
struct my_exception: boost::exception, std::exception { };
|
||||
struct
|
||||
my_exception:
|
||||
boost::exception,
|
||||
std::exception
|
||||
{
|
||||
char const *
|
||||
what() const throw()
|
||||
{
|
||||
return "my_exception";
|
||||
}
|
||||
};
|
||||
|
||||
typedef boost::error_info<struct my_tag,int> my_int;
|
||||
|
||||
bool called=false;
|
||||
|
Reference in New Issue
Block a user