Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-cpp20
/ setNext
Method
setNext
Examples/NoModules/Chapter 12/Ex12_17/Package.h:17–17 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
// Retrieve or update the pointer to the next Package
16
Package* getNext() { return m_next; }
17
void setNext(Package* package) { m_next = package; }
18
19
private:
20
SharedBox m_box; // Pointer to the Box object contained in this Package
Callers
2
addBox
Method · 0.45
removeBox
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected