- Uses links consisting of:
- pointers to previous link and next link
- stored value
- Link will be defined within the list class, limiting scope of definition
class link
{
// data
link* prevLink;
link* nextLink;
T value;
// constructor
link (const T& t) : value(t);
};
|
|
a link
|