mirror of
https://github.com/boostorg/exception.git
synced 2025-07-02 07:21:05 +02:00
minor diagnostic_information maintenance, updated documentation
[SVN r58131]
This commit is contained in:
@ -11,7 +11,18 @@
|
||||
#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