mirror of
https://github.com/boostorg/exception.git
synced 2025-07-19 07:22:06 +02:00
File diff suppressed because it is too large
Load Diff
@ -73,12 +73,14 @@ boost
|
|||||||
exception_ptr
|
exception_ptr
|
||||||
get_bad_alloc()
|
get_bad_alloc()
|
||||||
{
|
{
|
||||||
static exception_ptr e = boost::copy_exception(
|
bad_alloc_ ba;
|
||||||
bad_alloc_() <<
|
exception_detail::clone_impl<bad_alloc_> c(ba);
|
||||||
throw_function("boost::current_exception()") <<
|
c <<
|
||||||
|
throw_function(BOOST_CURRENT_FUNCTION) <<
|
||||||
throw_file(__FILE__) <<
|
throw_file(__FILE__) <<
|
||||||
throw_line(__LINE__) );
|
throw_line(__LINE__);
|
||||||
return e;
|
static exception_ptr ep(new exception_detail::clone_impl<bad_alloc_>(c));
|
||||||
|
return ep;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <int Dummy>
|
template <int Dummy>
|
||||||
|
Reference in New Issue
Block a user