Rosetta
|
Fast polymorphic down-casting functions. More...
#include <utility/assert.hh>
Go to the source code of this file.
Classes | |
struct | utility::RawType< T > |
Meta-programming classes to provide the pointer type for down_cast. More... | |
struct | utility::RawType< T & > |
struct | utility::RawType< T * > |
Namespaces | |
utility | |
unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 0. | |
Functions | |
template<class Target , class Source > | |
Target | utility::down_cast (Source &s) |
Fast assert-checked polymorphic down-cast: reference argument. More... | |
template<class Target , class Source > | |
Target | utility::down_cast (Source *p) |
Fast assert-checked polymorphic down-cast: pointer argument. More... | |
Fast polymorphic down-casting functions.
Definition in file down_cast.hh.