forked from boostorg/exception
introduced boost/exception_ptr.hpp, using Boost Exception
[SVN r44439]
This commit is contained in:
@ -109,14 +109,6 @@ boost
|
|||||||
return exception_ptr(c);
|
return exception_ptr(c);
|
||||||
}
|
}
|
||||||
catch(
|
catch(
|
||||||
... )
|
|
||||||
{
|
|
||||||
}
|
|
||||||
try
|
|
||||||
{
|
|
||||||
throw;
|
|
||||||
}
|
|
||||||
catch(
|
|
||||||
std::invalid_argument & e )
|
std::invalid_argument & e )
|
||||||
{
|
{
|
||||||
return exception_detail::current_exception_std_exception(e);
|
return exception_detail::current_exception_std_exception(e);
|
@ -3,7 +3,7 @@
|
|||||||
//Distributed under the Boost Software License, Version 1.0. (See accompanying
|
//Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
#include <boost/exception/cloning.hpp>
|
#include <boost/exception_ptr.hpp>
|
||||||
#include <boost/detail/lightweight_test.hpp>
|
#include <boost/detail/lightweight_test.hpp>
|
||||||
|
|
||||||
struct
|
struct
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
//Distributed under the Boost Software License, Version 1.0. (See accompanying
|
//Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
#include <boost/exception/cloning.hpp>
|
#include <boost/exception_ptr.hpp>
|
||||||
#include <boost/detail/lightweight_test.hpp>
|
#include <boost/detail/lightweight_test.hpp>
|
||||||
|
|
||||||
struct
|
struct
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include "helper2.hpp"
|
#include "helper2.hpp"
|
||||||
#include <boost/exception/info.hpp>
|
#include <boost/exception/info.hpp>
|
||||||
#include <boost/exception/cloning.hpp>
|
#include <boost/exception_ptr.hpp>
|
||||||
#include <boost/detail/lightweight_test.hpp>
|
#include <boost/detail/lightweight_test.hpp>
|
||||||
|
|
||||||
typedef boost::error_info<struct tag_test_int,int> test_int;
|
typedef boost::error_info<struct tag_test_int,int> test_int;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
//Distributed under the Boost Software License, Version 1.0. (See accompanying
|
//Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
#include <boost/exception/cloning.hpp>
|
#include <boost/exception_ptr.hpp>
|
||||||
#include <boost/exception/info.hpp>
|
#include <boost/exception/info.hpp>
|
||||||
#include <boost/detail/lightweight_test.hpp>
|
#include <boost/detail/lightweight_test.hpp>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user