Lines Matching refs:friend

26   friend bool operator==(cxx20_friend_eq const&, cxx20_friend_eq const&) = default;
34friend auto operator<=>(friend_three_way_comparable const&, friend_three_way_comparable const&) = …
38 friend bool operator==(explicit_operators, explicit_operators) noexcept;
39 friend bool operator!=(explicit_operators, explicit_operators) noexcept;
40 friend bool operator<(explicit_operators, explicit_operators) noexcept;
41 friend bool operator>(explicit_operators, explicit_operators) noexcept;
42 friend bool operator<=(explicit_operators, explicit_operators) noexcept;
43 friend bool operator>=(explicit_operators, explicit_operators) noexcept;
45 friend bool operator==(explicit_operators const&, equality_comparable_with_ec1 const&) noexcept;
46 friend bool operator==(equality_comparable_with_ec1 const&, explicit_operators const&) noexcept;
47 friend bool operator!=(explicit_operators const&, equality_comparable_with_ec1 const&) noexcept;
48 friend bool operator!=(equality_comparable_with_ec1 const&, explicit_operators const&) noexcept;
59 friend signed char operator==(explicit_operators, different_return_types);
60 friend unsigned char operator==(different_return_types, explicit_operators);
61 friend float operator!=(explicit_operators, different_return_types);
62 friend double operator!=(different_return_types, explicit_operators);
72 friend boolean operator==(one_member_one_friend, one_member_one_friend) noexcept;
86 friend bool operator==(no_eq, no_eq) = delete;
87 friend bool operator!=(no_eq, no_eq) noexcept;
88 friend bool operator<(no_eq, no_eq) noexcept;
89 friend bool operator>(no_eq, no_eq) noexcept;
90 friend bool operator>=(no_eq, no_eq) noexcept;
91 friend bool operator<=(no_eq, no_eq) noexcept;
95 friend bool operator==(no_neq, no_neq) noexcept;
96 friend bool operator!=(no_neq, no_neq) = delete;
97 friend bool operator<(no_eq, no_eq) noexcept;
98 friend bool operator>(no_eq, no_eq) noexcept;
99 friend bool operator>=(no_eq, no_eq) noexcept;
100 friend bool operator<=(no_eq, no_eq) noexcept;
104 friend bool operator==(no_lt, no_lt) noexcept;
105 friend bool operator!=(no_lt, no_lt) noexcept;
106 friend bool operator<(no_lt, no_lt) = delete;
107 friend bool operator>(no_lt, no_lt) noexcept;
108 friend bool operator>=(no_lt, no_lt) noexcept;
109 friend bool operator<=(no_lt, no_lt) noexcept;
113 friend bool operator==(no_gt, no_gt) noexcept;
114 friend bool operator!=(no_gt, no_gt) noexcept;
115 friend bool operator<(no_gt, no_gt) noexcept;
116 friend bool operator>(no_gt, no_gt) = delete;
117 friend bool operator>=(no_gt, no_gt) noexcept;
118 friend bool operator<=(no_gt, no_gt) noexcept;
122 friend bool operator==(no_le, no_le) noexcept;
123 friend bool operator!=(no_le, no_le) noexcept;
124 friend bool operator<(no_le, no_le) noexcept;
125 friend bool operator>(no_le, no_le) noexcept;
126 friend bool operator>=(no_le, no_le) = delete;
127 friend bool operator<=(no_le, no_le) noexcept;
131 friend bool operator==(no_ge, no_ge) noexcept;
132 friend bool operator!=(no_ge, no_ge) noexcept;
133 friend bool operator<(no_ge, no_ge) noexcept;
134 friend bool operator>(no_ge, no_ge) noexcept;
135 friend bool operator>=(no_ge, no_ge) noexcept;
136 friend bool operator<=(no_ge, no_ge) = delete;
208 friend bool operator==(cxx20_friend_eq_operator_with_deleted_ne const&,
210 friend bool operator!=(cxx20_friend_eq_operator_with_deleted_ne const&,
225 friend auto operator<=>(friend_three_way_comparable_with_deleted_eq const&,
227 friend bool operator==(friend_three_way_comparable_with_deleted_eq const&,
232 friend auto operator<=>(friend_three_way_comparable_with_deleted_ne const&,
234 friend bool operator!=(friend_three_way_comparable_with_deleted_ne const&,
240 friend bool operator==(one_way_eq, explicit_operators);
241 friend bool operator==(explicit_operators, one_way_eq) = delete;
248 friend bool operator==(one_way_ne, explicit_operators);
249 friend bool operator!=(one_way_ne, explicit_operators) = delete;
325 friend explicit_bool operator==(eq_returns_explicit_bool, eq_returns_explicit_bool);
326 friend bool operator!=(eq_returns_explicit_bool, eq_returns_explicit_bool);
327 friend bool operator<(eq_returns_explicit_bool, eq_returns_explicit_bool);
328 friend bool operator>(eq_returns_explicit_bool, eq_returns_explicit_bool);
329 friend bool operator<=(eq_returns_explicit_bool, eq_returns_explicit_bool);
330 friend bool operator>=(eq_returns_explicit_bool, eq_returns_explicit_bool);
334 friend explicit_bool operator==(eq_returns_explicit_bool, totally_ordered_with_others);
335 friend explicit_bool operator==(totally_ordered_with_others, eq_returns_explicit_bool);
336 friend bool operator!=(eq_returns_explicit_bool, totally_ordered_with_others);
337 friend bool operator!=(totally_ordered_with_others, eq_returns_explicit_bool);
338 friend bool operator<(eq_returns_explicit_bool, totally_ordered_with_others);
339 friend bool operator<(totally_ordered_with_others, eq_returns_explicit_bool);
340 friend bool operator>(eq_returns_explicit_bool, totally_ordered_with_others);
341 friend bool operator>(totally_ordered_with_others, eq_returns_explicit_bool);
342 friend bool operator<=(eq_returns_explicit_bool, totally_ordered_with_others);
343 friend bool operator<=(totally_ordered_with_others, eq_returns_explicit_bool);
344 friend bool operator>=(eq_returns_explicit_bool, totally_ordered_with_others);
345 friend bool operator>=(totally_ordered_with_others, eq_returns_explicit_bool);
349 friend bool operator==(ne_returns_explicit_bool, ne_returns_explicit_bool);
350 friend explicit_bool operator!=(ne_returns_explicit_bool, ne_returns_explicit_bool);
351 friend bool operator<(ne_returns_explicit_bool, ne_returns_explicit_bool);
352 friend bool operator>(ne_returns_explicit_bool, ne_returns_explicit_bool);
353 friend bool operator<=(ne_returns_explicit_bool, ne_returns_explicit_bool);
354 friend bool operator>=(ne_returns_explicit_bool, ne_returns_explicit_bool);
358 friend bool operator==(ne_returns_explicit_bool, totally_ordered_with_others);
359 friend explicit_bool operator!=(ne_returns_explicit_bool, totally_ordered_with_others);
360 friend explicit_bool operator!=(totally_ordered_with_others, ne_returns_explicit_bool);
361 friend bool operator<(ne_returns_explicit_bool, totally_ordered_with_others);
362 friend bool operator<(totally_ordered_with_others, ne_returns_explicit_bool);
363 friend bool operator>(ne_returns_explicit_bool, totally_ordered_with_others);
364 friend bool operator>(totally_ordered_with_others, ne_returns_explicit_bool);
365 friend bool operator<=(ne_returns_explicit_bool, totally_ordered_with_others);
366 friend bool operator<=(totally_ordered_with_others, ne_returns_explicit_bool);
367 friend bool operator>=(ne_returns_explicit_bool, totally_ordered_with_others);
368 friend bool operator>=(totally_ordered_with_others, ne_returns_explicit_bool);
372 friend bool operator==(lt_returns_explicit_bool, lt_returns_explicit_bool);
373 friend bool operator!=(lt_returns_explicit_bool, lt_returns_explicit_bool);
374 friend explicit_bool operator<(lt_returns_explicit_bool, lt_returns_explicit_bool);
375 friend bool operator>(lt_returns_explicit_bool, lt_returns_explicit_bool);
376 friend bool operator<=(lt_returns_explicit_bool, lt_returns_explicit_bool);
377 friend bool operator>=(lt_returns_explicit_bool, lt_returns_explicit_bool);
381 friend bool operator==(lt_returns_explicit_bool, totally_ordered_with_others);
382 friend bool operator!=(lt_returns_explicit_bool, totally_ordered_with_others);
383 friend bool operator!=(totally_ordered_with_others, lt_returns_explicit_bool);
384 friend explicit_bool operator<(lt_returns_explicit_bool, totally_ordered_with_others);
385 friend bool operator<(totally_ordered_with_others, lt_returns_explicit_bool);
386 friend bool operator>(lt_returns_explicit_bool, totally_ordered_with_others);
387 friend bool operator>(totally_ordered_with_others, lt_returns_explicit_bool);
388 friend bool operator<=(lt_returns_explicit_bool, totally_ordered_with_others);
389 friend bool operator<=(totally_ordered_with_others, lt_returns_explicit_bool);
390 friend bool operator>=(lt_returns_explicit_bool, totally_ordered_with_others);
391 friend bool operator>=(totally_ordered_with_others, lt_returns_explicit_bool);
395 friend bool operator==(gt_returns_explicit_bool, gt_returns_explicit_bool);
396 friend bool operator!=(gt_returns_explicit_bool, gt_returns_explicit_bool);
397 friend bool operator<(gt_returns_explicit_bool, gt_returns_explicit_bool);
398 friend explicit_bool operator>(gt_returns_explicit_bool, gt_returns_explicit_bool);
399 friend bool operator<=(gt_returns_explicit_bool, gt_returns_explicit_bool);
400 friend bool operator>=(gt_returns_explicit_bool, gt_returns_explicit_bool);
404 friend bool operator==(gt_returns_explicit_bool, totally_ordered_with_others);
405 friend bool operator!=(gt_returns_explicit_bool, totally_ordered_with_others);
406 friend bool operator!=(totally_ordered_with_others, gt_returns_explicit_bool);
407 friend bool operator<(gt_returns_explicit_bool, totally_ordered_with_others);
408 friend bool operator<(totally_ordered_with_others, gt_returns_explicit_bool);
409 friend explicit_bool operator>(gt_returns_explicit_bool, totally_ordered_with_others);
410 friend bool operator>(totally_ordered_with_others, gt_returns_explicit_bool);
411 friend bool operator<=(gt_returns_explicit_bool, totally_ordered_with_others);
412 friend bool operator<=(totally_ordered_with_others, gt_returns_explicit_bool);
413 friend bool operator>=(gt_returns_explicit_bool, totally_ordered_with_others);
414 friend bool operator>=(totally_ordered_with_others, gt_returns_explicit_bool);
418 friend bool operator==(le_returns_explicit_bool, le_returns_explicit_bool);
419 friend bool operator!=(le_returns_explicit_bool, le_returns_explicit_bool);
420 friend bool operator<(le_returns_explicit_bool, le_returns_explicit_bool);
421 friend bool operator>(le_returns_explicit_bool, le_returns_explicit_bool);
422 friend explicit_bool operator<=(le_returns_explicit_bool, le_returns_explicit_bool);
423 friend bool operator>=(le_returns_explicit_bool, le_returns_explicit_bool);
427 friend bool operator==(le_returns_explicit_bool, totally_ordered_with_others);
428 friend bool operator!=(le_returns_explicit_bool, totally_ordered_with_others);
429 friend bool operator!=(totally_ordered_with_others, le_returns_explicit_bool);
430 friend bool operator<(le_returns_explicit_bool, totally_ordered_with_others);
431 friend bool operator<(totally_ordered_with_others, le_returns_explicit_bool);
432 friend bool operator>(le_returns_explicit_bool, totally_ordered_with_others);
433 friend bool operator>(totally_ordered_with_others, le_returns_explicit_bool);
434 friend bool operator<=(le_returns_explicit_bool, totally_ordered_with_others);
435 friend explicit_bool operator<=(totally_ordered_with_others, le_returns_explicit_bool);
436 friend bool operator>=(le_returns_explicit_bool, totally_ordered_with_others);
437 friend bool operator>=(totally_ordered_with_others, le_returns_explicit_bool);
441 friend bool operator==(ge_returns_explicit_bool, ge_returns_explicit_bool);
442 friend bool operator!=(ge_returns_explicit_bool, ge_returns_explicit_bool);
443 friend bool operator<(ge_returns_explicit_bool, ge_returns_explicit_bool);
444 friend bool operator>(ge_returns_explicit_bool, ge_returns_explicit_bool);
445 friend bool operator<=(ge_returns_explicit_bool, ge_returns_explicit_bool);
446 friend explicit_bool operator>=(ge_returns_explicit_bool, ge_returns_explicit_bool);
450 friend bool operator==(ge_returns_explicit_bool, totally_ordered_with_others);
451 friend bool operator!=(ge_returns_explicit_bool, totally_ordered_with_others);
452 friend bool operator!=(totally_ordered_with_others, ge_returns_explicit_bool);
453 friend bool operator<(ge_returns_explicit_bool, totally_ordered_with_others);
454 friend bool operator<(totally_ordered_with_others, ge_returns_explicit_bool);
455 friend bool operator>(ge_returns_explicit_bool, totally_ordered_with_others);
456 friend bool operator>(totally_ordered_with_others, ge_returns_explicit_bool);
457 friend bool operator<=(ge_returns_explicit_bool, totally_ordered_with_others);
458 friend bool operator<=(totally_ordered_with_others, ge_returns_explicit_bool);
459 friend bool operator>=(ge_returns_explicit_bool, totally_ordered_with_others);
460 friend explicit_bool operator>=(totally_ordered_with_others, ge_returns_explicit_bool);
464 friend std::true_type operator==(returns_true_type, returns_true_type);
465 friend std::true_type operator!=(returns_true_type, returns_true_type);
466 friend std::true_type operator<(returns_true_type, returns_true_type);
467 friend std::true_type operator>(returns_true_type, returns_true_type);
468 friend std::true_type operator<=(returns_true_type, returns_true_type);
469 friend std::true_type operator>=(returns_true_type, returns_true_type);
473 friend std::true_type operator==(returns_true_type, totally_ordered_with_others);
474 friend std::true_type operator==(totally_ordered_with_others, returns_true_type);
475 friend std::true_type operator!=(returns_true_type, totally_ordered_with_others);
476 friend std::true_type operator!=(totally_ordered_with_others, returns_true_type);
477 friend std::true_type operator<(returns_true_type, totally_ordered_with_others);
478 friend std::true_type operator<(totally_ordered_with_others, returns_true_type);
479 friend std::true_type operator>(returns_true_type, totally_ordered_with_others);
480 friend std::true_type operator>(totally_ordered_with_others, returns_true_type);
481 friend std::true_type operator<=(returns_true_type, totally_ordered_with_others);
482 friend std::true_type operator<=(totally_ordered_with_others, returns_true_type);
483 friend std::true_type operator>=(returns_true_type, totally_ordered_with_others);
484 friend std::true_type operator>=(totally_ordered_with_others, returns_true_type);
488 friend int* operator==(returns_int_ptr, returns_int_ptr);
489 friend int* operator!=(returns_int_ptr, returns_int_ptr);
490 friend int* operator<(returns_int_ptr, returns_int_ptr);
491 friend int* operator>(returns_int_ptr, returns_int_ptr);
492 friend int* operator<=(returns_int_ptr, returns_int_ptr);
493 friend int* operator>=(returns_int_ptr, returns_int_ptr);
497 friend int* operator==(returns_int_ptr, totally_ordered_with_others);
498 friend int* operator==(totally_ordered_with_others, returns_int_ptr);
499 friend int* operator!=(returns_int_ptr, totally_ordered_with_others);
500 friend int* operator!=(totally_ordered_with_others, returns_int_ptr);
501 friend int* operator<(returns_int_ptr, totally_ordered_with_others);
502 friend int* operator<(totally_ordered_with_others, returns_int_ptr);
503 friend int* operator>(returns_int_ptr, totally_ordered_with_others);
504 friend int* operator>(totally_ordered_with_others, returns_int_ptr);
505 friend int* operator<=(returns_int_ptr, totally_ordered_with_others);
506 friend int* operator<=(totally_ordered_with_others, returns_int_ptr);
507 friend int* operator>=(returns_int_ptr, totally_ordered_with_others);
508 friend int* operator>=(totally_ordered_with_others, returns_int_ptr);