#include <Teuchos_dyn_cast.hpp>
Public Member Functions | |
m_bad_cast (const std::string &what_arg) | |
virtual | ~m_bad_cast () throw () |
virtual const char * | what () const throw () |
We create this class so that we may throw a bad_cast when appropriate and still use the TEST_FOR_EXCEPTION macro. We recommend users try to catch a bad_cast.
Definition at line 44 of file Teuchos_dyn_cast.hpp.
Teuchos::m_bad_cast::m_bad_cast | ( | const std::string & | what_arg | ) | [inline, explicit] |
Definition at line 47 of file Teuchos_dyn_cast.hpp.
virtual Teuchos::m_bad_cast::~m_bad_cast | ( | ) | throw () [inline, virtual] |
Definition at line 48 of file Teuchos_dyn_cast.hpp.
virtual const char* Teuchos::m_bad_cast::what | ( | ) | const throw () [inline, virtual] |
Definition at line 49 of file Teuchos_dyn_cast.hpp.