[SVN r61938]
This commit is contained in:
Emil Dotchevski
2010-05-12 23:36:29 +00:00
parent ad829e590a
commit 787fb1f148
2 changed files with 7300 additions and 7314 deletions

File diff suppressed because it is too large Load Diff

View File

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