Lines Matching defs:ImplicitCast_
2186 // Use ImplicitCast_ as a safe version of static_cast for upcasting in
2188 // const Foo*). When you use ImplicitCast_, the compiler checks that
2193 // The syntax for using ImplicitCast_ is the same as for static_cast:
2195 // ImplicitCast_<ToType>(expr)
2197 // ImplicitCast_ would have been part of the C++ standard library,
2205 inline To ImplicitCast_(To x) { return x; }
2208 // SuperclassOfFoo), it's fine to use ImplicitCast_<>, since upcasts
2236 ::testing::internal::ImplicitCast_<From*>(to);
9602 PrintTo(ImplicitCast_<const char*>(s), os);
9608 PrintTo(ImplicitCast_<const void*>(s), os);
9611 PrintTo(ImplicitCast_<const void*>(s), os);
9614 PrintTo(ImplicitCast_<const void*>(s), os);
9617 PrintTo(ImplicitCast_<const void*>(s), os);
9629 PrintTo(ImplicitCast_<const wchar_t*>(s), os);