Lines Matching refs:B
36 struct B { struct
37 bool operator==(const B&) const;
40 B b;
87 struct B { struct
89 std::strong_ordering operator<=>(const B&) const = default;
91 DEF(B() <=> B());
92 static_assert(!noexcept(B() <=> B()));
139 struct B { struct
141 friend std::strong_ordering operator<=>(B, B) = default;
143 std::strong_ordering operator<=>(B, B) noexcept;
183 struct B { struct
184 friend bool operator==(B, B) noexcept;
185 friend bool operator!=(B, B) = default;
187 friend int operator<=>(B, B) noexcept;
188 friend bool operator<(B, B) = default;
189 friend bool operator<=(B, B) = default;
190 friend bool operator>(B, B) = default;
191 friend bool operator>=(B, B) = default;
193 bool operator!=(B, B) noexcept;
194 bool operator<(B, B) noexcept;
195 bool operator<=(B, B) noexcept;
196 bool operator>(B, B) noexcept;
197 bool operator>=(B, B) noexcept;
216 template<int> struct B { struct
217 B();
218 B(const B&) = delete; // expected-note 3{{here}}
219 friend bool operator==(B, B); // expected-note 3{{passing}}
220 bool operator!=(const B&) const = default; // expected-error 3{{call to deleted constructor}}
223 bool b0 = B<0>() != B<0>(); // expected-note {{in defaulted equality comparison operator}}
224 …bool b1 = B<1>().operator!=(B<1>()); // expected-note {{in defaulted equality comparison operator}}
225 int b2 = sizeof(&B<2>::operator!=); // expected-note {{in evaluation of exception specification}}