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

Function main

12.03-constexprPoint0/main.cpp:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36int main()
37{
38 constexpr Point p = move({2, 2}, 3, 2);
39
40 printf("x:%lf y:%lf\n", p.GetX(), p.GetY());
41}

Callers

nothing calls this directly

Calls 3

moveFunction · 0.85
GetXMethod · 0.80
GetYMethod · 0.80

Tested by

no test coverage detected