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

Method getFirstBox

Exercises/Modules/Chapter 12/Soln12_08/Truckload.cpp:80–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80SharedBox Truckload::Iterator::getFirstBox()
81{
82 // Return m_head's box (or nullptr if the list is empty)
83 m_current = m_head;
84 return getCurrentBox();
85}
86
87SharedBox Truckload::Iterator::getLastBox()
88{

Callers 1

findLargestBoxFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected