Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
Teuchos_dyn_cast.hpp File Reference
#include "Teuchos_TypeNameTraits.hpp"
Include dependency graph for Teuchos_dyn_cast.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Teuchos::m_bad_cast
 Exception class for bad cast. More...
 

Namespaces

 Teuchos
 

Functions

TEUCHOSCORE_LIB_DLL_EXPORT void Teuchos::dyn_cast_throw_exception (const std::string &T_from, const std::string &T_from_concr, const std::string &T_to)
 
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. More...