introduced boost/exception_ptr.hpp, using Boost Exception

[SVN r44439]
This commit is contained in:
Emil Dotchevski
2008-04-15 18:47:16 +00:00
parent c61e655ada
commit f29f86f65c
5 changed files with 4 additions and 12 deletions

View File

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

View File

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

View File

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

View File

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

View File

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