MCPcopy Create free account
hub / github.com/andreasfertig/programming-with-cpp20 / A

Class A

06.19-spaceshipEqualityRewrite2/main.cpp:6–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4struct B;
5
6struct A {
7 bool operator==(B&) const { return true; } // #A
8};
9
10struct B {
11 bool operator==(const A&) const { return false; } // #B

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected