Searched refs:MyComplex (Results 1 – 1 of 1) sorted by relevance
261 struct MyComplex { struct264 MyComplex(float x, float y) { in MyComplex() argument268 MyComplex() {} in MyComplex() argument269 const MyComplex operator+(const MyComplex other) const { in operator +() argument273 return MyComplex(xx + other.xx, yy + other.yy); in operator +()276 MyComplex useAdd() { in useAdd()277 MyComplex a (1, 3); in useAdd()278 MyComplex b (2, 4); in useAdd()