reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
123 W.insert(23); 124 W.insert(10); 125 W.insert(47); 126 W.insert(42); 127 W.insert(23); 128 W.insert(13); 129 W.insert(26); 130 W.insert(42); 131 EXPECT_EQ(6u, W.size()); 133 EXPECT_FALSE(W.erase_if([](int i) { return i > 100; })); 134 EXPECT_EQ(6u, W.size()); 135 EXPECT_EQ(42, W.back()); 137 EXPECT_TRUE(W.erase_if([](int i) { 141 EXPECT_EQ(3u, W.size()); 142 EXPECT_FALSE(W.count(42)); 143 EXPECT_FALSE(W.count(26)); 144 EXPECT_FALSE(W.count(10)); 145 EXPECT_FALSE(W.insert(47)); 146 EXPECT_FALSE(W.insert(23)); 147 EXPECT_EQ(23, W.pop_back_val()); 148 EXPECT_EQ(47, W.pop_back_val()); 149 EXPECT_EQ(13, W.pop_back_val());