Lines Matching refs:Base
101 class Base {
105 Base() : member_(0) {}
106 explicit Base(int n) : member_(n) {}
107 virtual ~Base() {}
114 class Derived : public Base {
116 explicit Derived(int n) : Base(n) {}
121 EXPECT_TRUE(&derived == ::testing::internal::ImplicitCast_<Base*>(&derived));
126 Base base = ::testing::internal::ImplicitCast_<Base>(derived);
133 operator Base() {
135 return Base();
145 Base base = ::testing::internal::ImplicitCast_<Base>(castable);
152 operator Base() const {
154 return Base();
164 Base base = ::testing::internal::ImplicitCast_<Base>(const_castable);
172 operator Base() {
174 return Base();
176 operator Base() const {
178 return Base();
190 Base base = ::testing::internal::ImplicitCast_<Base>(castable);
197 base = ::testing::internal::ImplicitCast_<Base>(const_castable);