mirror of
https://github.com/boostorg/exception.git
synced 2025-07-02 15:31:06 +02:00
Compare commits
3 Commits
boost-1.41
...
boost-1.41
Author | SHA1 | Date | |
---|---|---|---|
5c27cc10d7 | |||
785cf09730 | |||
3191be8955 |
@ -19,6 +19,13 @@ boost
|
||||
|
||||
virtual void _rethrow() const=0;
|
||||
virtual bool _empty() const=0;
|
||||
|
||||
protected:
|
||||
|
||||
virtual
|
||||
~exception_ptr_base() throw()
|
||||
{
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -56,7 +56,7 @@ inline void throw_exception_assert_compatibility( std::exception const & ) { }
|
||||
|
||||
template<class E> BOOST_ATTRIBUTE_NORETURN inline void throw_exception( E const & e )
|
||||
{
|
||||
//All boost exceptions are required to derive std::exception,
|
||||
//All boost exceptions are required to derive from std::exception,
|
||||
//to ensure compatibility with BOOST_NO_EXCEPTIONS.
|
||||
throw_exception_assert_compatibility(e);
|
||||
|
||||
|
Reference in New Issue
Block a user