MCPcopy Create free account
hub / github.com/Apress/beginning-cpp20 / main

Function main

Exercises/NoModules/Chapter 13/Soln13_05/Soln13_05.cpp:18–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18int main()
19{
20 Box box1{2, 3, 4};
21 std::cout << "box1 is " << box1 << std::endl;
22 testBox(box1);
23
24 std::cout << std::endl;;
25
26 Box box2{0, 0, 0};
27 std::cout << "box2 is " << box2 << std::endl;
28 testBox(box2);
29}
30

Callers

nothing calls this directly

Calls 1

testBoxFunction · 0.70

Tested by

no test coverage detected