Add std::bad_cast to std_except.i

This exception occurs when dynamic_cast<T&> fails.

Fixes #783.
This commit is contained in:
Daniel Vollmer 2016-09-17 10:26:54 +02:00
commit 2dc87d7485
9 changed files with 12 additions and 0 deletions

View file

@ -15,6 +15,10 @@ namespace std {
virtual const char* what() const throw();
};
struct bad_cast : exception
{
};
struct bad_exception : exception
{
};