42#include "Teuchos_dyn_cast.hpp"
43#include "Teuchos_Assert.hpp"
52 const std::string &
T_to
58 <<
") : Error, the object with the concrete type \'"
60 " does not support the interface \'"
61 <<
T_to <<
"\' and the dynamic cast failed!" );
Smart reference counting pointer class for automatic garbage collection.
Exception class for bad cast.
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
Macro for throwing an exception with breakpointing to ease debugging.
TEUCHOSCORE_LIB_DLL_EXPORT void dyn_cast_throw_exception(const std::string &T_from, const std::string &T_from_concr, const std::string &T_to)