Searched defs:down_cast (Results 1 - 1 of 1) sorted by relevance

/art/runtime/base/
H A Dcasts.h70 template<typename To, typename From> // use like this: down_cast<T*>(foo);
71 inline To down_cast(From* f) { // so we only accept pointers function in namespace:art
73 "down_cast unsafe as To is not a subtype of From");

Completed in 149 milliseconds