Lines Matching refs:other
93 FooBody( const FooBody& other ) : array(other.array), state(other.state) { in FooBody() argument
254 SmartIndex(const SmartIndex& other) : real_index(other.real_index), in SmartIndex() argument
255 change_vector(other.change_vector) {} in SmartIndex()
258 SmartIndex& operator=(const SmartIndex& other) { in operator =() argument
259 real_index = other.real_index; in operator =()
260 change_vector = other.change_vector; in operator =()
264 bool operator<(const SmartIndex& other) const { in operator <()
265 return real_index < other.real_index; in operator <()
268 bool operator<=(const SmartIndex& other) const { in operator <=()
269 return real_index <= other.real_index; in operator <=()
272 SmartIndex operator/(const SmartIndex& other) const { in operator /()
273 return {real_index / other.real_index, *change_vector}; in operator /()
276 SmartIndex operator*(const SmartIndex& other) const { in operator *()
277 return {real_index * other.real_index, *change_vector}; in operator *()
280 SmartIndex operator+(const SmartIndex& other) const { in operator +()
281 return {real_index + other.real_index, *change_vector}; in operator +()
284 SmartIndex& operator+=(const SmartIndex& other) { in operator +=() argument
285 real_index += other.real_index; in operator +=()
291 std::size_t operator-(const SmartIndex& other) const { in operator -()
292 return real_index - other.real_index; in operator -()