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

Method operator<

06.17-spaceshipWithLegacyCode0/main.cpp:31–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 return true;
30}
31bool Legacy::operator<(const Legacy&) const
32{
33 return true;
34}
35
36ShinyCpp20Class::ShinyCpp20Class(int a, int b)
37: mA{a}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected