Update documentation

This commit is contained in:
Peter Dimov committed 2022-02-17 01:23:30 +02:00
1 parent 26f3ce3c5c
commit 68d092f4d7
3 files changed
+18 -16

No files matched your search

+4
View File
@@ -44,3 +44,7 @@ enable `boost::exception_ptr` support.
The source location of the exception thrown by `boost::throw_with_location`
can be retrieved, after `catch(std::exception const & x)`, by using
`boost::get_throw_location(x)`.
`boost::get_throw_location` also works for exceptions thrown by the two argument
overload of `boost::throw_exception`, or by `BOOST_THROW_EXCEPTION`; in this case
it returns the source location stored in the `boost::exception` base class.