mirror of
https://github.com/boostorg/exception.git
synced 2025-07-29 12:07:20 +02:00
documentation update, added function exception::diagnostic_information, added std::exception to_string overload, removed tabs from source files
[SVN r46697]
This commit is contained in:
@ -41,7 +41,7 @@ error: //Base for all exception objects we throw.
|
||||
char const *
|
||||
what() const throw()
|
||||
{
|
||||
return boost::exception::what();
|
||||
return boost::exception::diagnostic_information();
|
||||
}
|
||||
|
||||
protected:
|
||||
@ -169,8 +169,8 @@ dump_all_info( boost::exception const & x )
|
||||
dump_copy_info(x);
|
||||
dump_file_info(x);
|
||||
dump_clib_info(x);
|
||||
std::cout << "\nOutput from what():\n";
|
||||
std::cout << x.what();
|
||||
std::cout << "\nOutput from diagnostic_information():\n";
|
||||
std::cout << x.diagnostic_information();
|
||||
}
|
||||
|
||||
int
|
||||
|
Reference in New Issue
Block a user