// Prog: node.h
// definition of the class ifmp::node
namespace ifmp {
template
class node {
public:
// Constructor
node(T key, node* next = 0);
T get_key() const;
node* get_next() const;
void set_next (node* next);
private:
T key_;
node* next_;
};
}
// include the implementation of the class ifmp::node
#include "node.cpp"