I have a Node class in another class which is under private in the Structure class which is the main class I am working with. I am then in another .cpp file which implementing the functions that are in the structure.h file which contains the Structure class and the Node class nested inside the Structure class under private.
How do I access that Node class when creating a return type of Node*. I have been messing around with it for awhile and nothing will work. It allows me to return an int, bool, double, but not a Node*.
"Structure.h"
template <class T>
class Structure
{
public:
// Structure functions();
private:
class Node
{
public::
// Node functions and variables;
}
// Structure functions_private();
}