forked from boostorg/exception
decoupled boost/exception/exception.hpp from boost/exception/detail/type_info.hpp
diagnostic_information improvements documentation update [SVN r48469]
This commit is contained in:
1 parent
e1aba12621
commit
9dd2d64304
15 files changed
+3062
-2888
No files matched your search
@@ -41,7 +41,7 @@ error: //Base for all exception objects we throw.
|
||||
char const *
|
||||
what() const throw()
|
||||
{
|
||||
return boost::exception::diagnostic_information();
|
||||
return "example_io error";
|
||||
}
|
||||
|
||||
protected:
|
||||
@@ -170,7 +170,7 @@ dump_all_info( boost::exception const & x )
|
||||
dump_file_info(x);
|
||||
dump_clib_info(x);
|
||||
std::cout << "\nOutput from diagnostic_information():\n";
|
||||
std::cout << x.diagnostic_information();
|
||||
std::cout << diagnostic_information(x);
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in new issue
Block a user