CopyLogger 81 base/tuple_unittest.cc CopyLogger() { ++TimesConstructed; } CopyLogger 82 base/tuple_unittest.cc CopyLogger(const CopyLogger& tocopy) { ++TimesConstructed; ++TimesCopied; } CopyLogger 83 base/tuple_unittest.cc ~CopyLogger() { } CopyLogger 89 base/tuple_unittest.cc void SomeLoggerMethRef(const CopyLogger& logy, const CopyLogger* ptr, bool* b) { CopyLogger 93 base/tuple_unittest.cc void SomeLoggerMethCopy(CopyLogger logy, const CopyLogger* ptr, bool* b) { CopyLogger 97 base/tuple_unittest.cc int CopyLogger::TimesCopied = 0; CopyLogger 98 base/tuple_unittest.cc int CopyLogger::TimesConstructed = 0; CopyLogger 103 base/tuple_unittest.cc CopyLogger logger; CopyLogger 104 base/tuple_unittest.cc EXPECT_EQ(0, CopyLogger::TimesCopied); CopyLogger 105 base/tuple_unittest.cc EXPECT_EQ(1, CopyLogger::TimesConstructed); CopyLogger 110 base/tuple_unittest.cc Tuple3<CopyLogger, CopyLogger*, bool*> tuple(logger, &logger, &res); CopyLogger 112 base/tuple_unittest.cc EXPECT_EQ(2, CopyLogger::TimesConstructed); CopyLogger 113 base/tuple_unittest.cc EXPECT_EQ(1, CopyLogger::TimesCopied); CopyLogger 119 base/tuple_unittest.cc EXPECT_EQ(2, CopyLogger::TimesConstructed); CopyLogger 120 base/tuple_unittest.cc EXPECT_EQ(1, CopyLogger::TimesCopied); CopyLogger 126 base/tuple_unittest.cc EXPECT_EQ(3, CopyLogger::TimesConstructed); CopyLogger 127 base/tuple_unittest.cc EXPECT_EQ(2, CopyLogger::TimesCopied);