Lines Matching full:other
13 A(const A &other) : m(other.m) { in A() argument
14 other.m = 0; in A()
18 A &operator=(const A &other) { in operator =() argument
19 if (&other != this) { in operator =()
20 m = other.m; in operator =()
21 other.m = 0; in operator =()
39 B(const B &other) : m(other.m) {} in B() argument
40 B(B &&other) : m(other.m) { in B() argument
41 other.m = 0; //no-warning: mutation allowed in move constructor in B()
44 B &operator=(const B &other) { in operator =() argument
45 if (&other != this) { in operator =()
46 m = other.m; in operator =()
51 B &operator=(B &&other) { in operator =() argument
52 m = other.m; in operator =()
53 other.m = 0; //no-warning: mutation allowed in move assignment operator in operator =()
67 C(C &other) { in C() argument
68 other = {}; in C()
70 other.ptr = nullptr; in C()
72 other.value = 0; in C()
76 other.ptr->value = 0; in C()
77 *other.ptr = {}; in C()
89 D(D &other) { in D() argument
90 other.s = {}; in D()
92 other.s.x = 0; in D()
101 E(E &other) { in E() argument
119 F(F &other) : a(other.a) { in F() argument
122 other.bad_func(); in F()
125 other.fine_func(); in F()
126 other.fine_func_2(42); in F()
127 other.questionable_func(); in F()
142 G(G &other) { in G() argument
145 other.s.mutate(0); in G()