Go to the source code of this file.
Functions |
template<typename T , typename U > |
bool | is_a () |
template<typename T , typename U > |
T * | as_a () |
template<typename T , typename U > |
T * | dyn_cast () |
Function Documentation
template<typename T , typename U >
A generic conversion from a base type U to a derived type T. See the discussion above for when to use this function.
References T.
template<typename T , typename U >
template<typename T , typename U >
The public interface. A generic test for a type relationship. See the discussion above for when to use this function. The question answered is "Is type T a derived type of
type U?".
References gcc_checking_assert.