Go to the documentation of this file.
31 #ifndef __BASE_CAST_HH__
32 #define __BASE_CAST_HH__
44 template <
class T,
class U>
48 T ret =
dynamic_cast<T
>(ptr);
59 template <
class T,
class U>
63 return static_cast<T
>(ptr);
68 #endif // __BASE_CAST_HH__
Generated on Fri Jun 9 2017 13:03:40 for gem5 by doxygen 1.8.6