reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
18 static unsigned NumCalls;
19 ~CountsDestructors() { ++NumCalls; } 172 CountsDestructors::NumCalls = 0; 179 EXPECT_EQ(0u, CountsDestructors::NumCalls); 181 EXPECT_EQ(1u, CountsDestructors::NumCalls); 183 EXPECT_EQ(3u, CountsDestructors::NumCalls); 197 CountsDestructors::NumCalls = 0; 200 EXPECT_EQ(0u, CountsDestructors::NumCalls); 202 EXPECT_EQ(1u, CountsDestructors::NumCalls); 217 CountsDestructors::NumCalls = 0; 220 EXPECT_EQ(0u, CountsDestructors::NumCalls); 222 EXPECT_EQ(1u, CountsDestructors::NumCalls);