mirror of
https://github.com/boostorg/exception.git
synced 2025-07-29 03:57:18 +02:00
N2179 compliance (pending documentation update)
[SVN r44438]
This commit is contained in:
@ -17,12 +17,12 @@ main()
|
||||
{
|
||||
try
|
||||
{
|
||||
throw boost::enable_exception_cloning(test_exception());
|
||||
throw boost::enable_current_exception(test_exception());
|
||||
}
|
||||
catch(
|
||||
std::exception & x )
|
||||
... )
|
||||
{
|
||||
boost::exception_ptr p = boost::clone_exception(x);
|
||||
boost::exception_ptr p = boost::current_exception();
|
||||
try
|
||||
{
|
||||
rethrow_exception(p);
|
||||
|
Reference in New Issue
Block a user