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

Method Node

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected