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

Method Node

Examples/NoModules/Chapter 17/Ex17_04A/Stack.h:27–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 {
26 public:
27 Node(const T& item) : m_item{ item } {} // Create a node from an object
28
29 T m_item; // The object stored in this node
30 Node* m_next{}; // Pointer to next node

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected