#ifndef NODE_H #define NODE_H #include using namespace std; template class Node { public: Node(); Node(const Type & dataArg); Node(const Type & dataArg, Node* nextArg); Node(const Node & nodeToCopy); ~Node(); Node& operator=(const Node & nodeToCopy); template friend ostream& operator<<(ostream & out, const Node &nodeToPrint); private: Type data; Node* next; }; #endif