Teuchos Package Browser (Single Doxygen Collection) Version of the Day
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

namespace  Teuchos

Functions

TEUCHOS_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.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines