Bug ticket 3641, also merging other fixes from the Release branch.

[SVN r57765]
This commit is contained in:
Emil Dotchevski
2009-11-18 23:05:55 +00:00
parent 5630262c4d
commit 3ab1c234f5
2 changed files with 11 additions and 0 deletions

View File

@ -19,6 +19,13 @@ boost
virtual void _rethrow() const=0; virtual void _rethrow() const=0;
virtual bool _empty() const=0; virtual bool _empty() const=0;
protected:
virtual
~exception_ptr_base() throw()
{
}
}; };
} }
} }

View File

@ -90,6 +90,10 @@ boost
{ {
} }
~exception_ptr() throw()
{
}
operator unspecified_bool_type() const operator unspecified_bool_type() const
{ {
return _empty() ? 0 : &exception_ptr::bad_alloc_; return _empty() ? 0 : &exception_ptr::bad_alloc_;