#ifndef NODE_H #define NODE_H #include #include using namespace std ; template class List ; template class Node { friend class List <_type> ; public : Node (const _type ) ; _type GetData () ; private : _type data ; Node<_type> *next ; }; template Node<_type>::Node (const _type info) :data (info) , next (0) { // empty function } template _type Node<_type>::GetData() { return data ; } #endif