|
Brumski's DSA Learning Project 1.3
For Learning Data Structures and Algorithms in C++
|
This is a template class that represents a single element of a queue, and it will be called "Node". More...
Public Member Functions | |
| Node ()=default | |
| Default Constructor. | |
Public Attributes | |
| NType | data {} |
| Stores the data for each node. | |
| std::shared_ptr< Node< NType > > | next = nullptr |
| Stores the address of the next node. | |
This is a template class that represents a single element of a queue, and it will be called "Node".