N2179 compliance (pending documentation update)

[SVN r44438]
This commit is contained in:
Emil Dotchevski
2008-04-15 18:24:46 +00:00
parent 08607bca72
commit c61e655ada
9 changed files with 225 additions and 33 deletions

View File

@ -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);