forked from boostorg/conversion
bugfix: added destructor definition with empty exception specification
[SVN r8651]
This commit is contained in:
7
test.hpp
7
test.hpp
@@ -40,6 +40,13 @@ namespace test // failure exception used to indicate checked test failures
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// std::~string has no exception-specification (could throw anything),
|
||||||
|
// but we need to be compatible with std::~exception's empty one
|
||||||
|
// see std::15.4p13 and std::15.4p3
|
||||||
|
~failure() throw()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
public: // usage
|
public: // usage
|
||||||
|
|
||||||
virtual const char * what() const throw()
|
virtual const char * what() const throw()
|
||||||
|
Reference in New Issue
Block a user