Add std::bad_cast to std_except.i
This exception occurs when dynamic_cast<T&> fails. Fixes #783.
This commit is contained in:
parent
b138f054e5
commit
2dc87d7485
9 changed files with 12 additions and 0 deletions
|
|
@ -15,6 +15,10 @@ namespace std {
|
|||
virtual const char* what() const throw();
|
||||
};
|
||||
|
||||
struct bad_cast : exception
|
||||
{
|
||||
};
|
||||
|
||||
struct bad_exception : exception
|
||||
{
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue