Lines Matching full:operator
91 // define an operator<< for tuples, as that definition needs to be in
152 // assignment operator (as opposed to a copy constructor) matches
158 << "created with the assignment operator.\n";
168 << "created with the assignment operator.\n";
205 // Verifies that prefix operator++() returns *this.
206 EXPECT_EQ(&it, &(++it)) << "Result of the prefix operator++ must be "
209 // Verifies that the result of the postfix operator++ points to the value
215 // Verifies that prefix and postfix operator++() advance an iterator
264 // copy constructor, operator=(), operator+(), and operator<().
270 DogAdder operator=(const DogAdder& other) {
275 DogAdder operator+(const DogAdder& other) const {
280 bool operator<(const DogAdder& other) const {
308 IntWrapper operator=(const IntWrapper& other) {
312 // operator+() adds a different type.
313 IntWrapper operator+(int other) const { return IntWrapper(value_ + other); }
314 bool operator<(const IntWrapper& other) const {
812 // type. Its default copy constructor and assignment operator do exactly