Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
51
void Truckload::addBox(SharedBox box)
52
{
53
m_boxes.push_back(std::move(box));
54
}
55
56
bool Truckload::removeBox(SharedBox boxToRemove)
57
{
Callers
1
main
Function · 0.45
Calls
1
push_back
Method · 0.45
Tested by
no test coverage detected