casts.h | 80 template<typename To, typename From> // use like this: down_cast<T*>(foo); 81 inline To down_cast(From* f) { // so we only accept pointers function in namespace:google::protobuf::internal 96 template<typename To, typename From> // use like this: down_cast<T&>(foo); 97 inline To down_cast(From& f) { function in namespace:google::protobuf::internal 128 using internal::down_cast;
|