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