Lines Matching defs:ImplicitCast_
973 // Use ImplicitCast_ as a safe version of static_cast for upcasting in
975 // const Foo*). When you use ImplicitCast_, the compiler checks that
980 // The syntax for using ImplicitCast_ is the same as for static_cast:
982 // ImplicitCast_<ToType>(expr)
984 // ImplicitCast_ would have been part of the C++ standard library,
992 inline To ImplicitCast_(To x) { return x; }
995 // SuperclassOfFoo), it's fine to use ImplicitCast_<>, since upcasts
1023 ::testing::internal::ImplicitCast_<From*>(to);