#include "Teuchos_TypeNameTraits.hpp"
Go to the source code of this file.
Classes | |
class | Teuchos::m_bad_cast |
Exception class for bad cast. More... | |
Namespaces | |
namespace | Teuchos |
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos, as well as a number of utility routines. | |
Functions | |
void | Teuchos::dyn_cast_throw_exception (const std::string &type_from_name, const std::string &type_from_concr_name, const std::string &type_to_name) |
template<class T_To , class T_From > | |
T_To & | Teuchos::dyn_cast (T_From &from) |
Dynamic casting utility function meant to replace dynamic_cast<T&> by throwing a better documented error message. |