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

Method getLastBox

Exercises/NoModules/Chapter 12/Soln12_08/Truckload.cpp:87–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87SharedBox Truckload::Iterator::getLastBox()
88{
89 // Return m_tail's box (or nullptr if the list is empty)
90 m_current = m_tail;
91 return getCurrentBox();
92}
93
94SharedBox Truckload::Iterator::getNextBox()
95{

Callers 1

findSmallestBoxFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected