mirror of
https://github.com/boostorg/exception.git
synced 2025-07-02 15:31:06 +02:00
Bug ticket 3641, also merging other fixes from the Release branch.
[SVN r57765]
This commit is contained in:
@ -19,6 +19,13 @@ boost
|
||||
|
||||
virtual void _rethrow() const=0;
|
||||
virtual bool _empty() const=0;
|
||||
|
||||
protected:
|
||||
|
||||
virtual
|
||||
~exception_ptr_base() throw()
|
||||
{
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -90,6 +90,10 @@ boost
|
||||
{
|
||||
}
|
||||
|
||||
~exception_ptr() throw()
|
||||
{
|
||||
}
|
||||
|
||||
operator unspecified_bool_type() const
|
||||
{
|
||||
return _empty() ? 0 : &exception_ptr::bad_alloc_;
|
||||
|
Reference in New Issue
Block a user