Brumski's DSA Learning Project 1.3
For Learning Data Structures and Algorithms in C++
Loading...
Searching...
No Matches
MyStack< T >::Node< NType > Class Template Reference

This is a template class that represents a single element of a stack, 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::unique_ptr< Node< NType > > next = nullptr
 Stores the address of the next node.
 

Detailed Description

template<class T>
template<class NType>
class MyStack< T >::Node< NType >

This is a template class that represents a single element of a stack, and it will be called "Node".


The documentation for this class was generated from the following file: