MCPcopy Create free account
hub / github.com/Extra-Creativity/Modern-Cpp-Basics / A

Class A

04-Ranges & Algorithms/examples/03-split.cpp:6–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include <vector>
5
6struct A
7{
8 int a;
9 auto operator<=>(const A &another) const
10 {
11 std::print("Hello?");
12 return a <=> another.a;
13 }
14 auto operator==(const A &another) const
15 {
16 std::print("Hello2?");
17 return a == another.a;
18 }
19};
20
21int main()
22{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected