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

Method addBox

Exercises/NoModules/Chapter 20/Soln20_01/Truckload.cpp:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void Truckload::addBox(SharedBox box)
52{
53 m_boxes.push_back(std::move(box));
54}
55
56bool Truckload::removeBox(SharedBox boxToRemove)
57{

Callers 1

mainFunction · 0.45

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected