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);
9601 PrintTo(ImplicitCast_<const char*>(s), os);
9607 PrintTo(ImplicitCast_<const void*>(s), os);
9610 PrintTo(ImplicitCast_<const void*>(s), os);
9613 PrintTo(ImplicitCast_<const void*>(s), os);
9616 PrintTo(ImplicitCast_<const void*>(s), os);
9628 PrintTo(ImplicitCast_<const wchar_t*>(s), os);