Links

Each element of a singly linked list must contain a link object.

An element in a singly linked list can be any kind of object. For an object to be an element of a singly linked list, the class of that object must include a link object as a component.

A link object has a data member containing a pointer which points forwards to the next link object. A link object also has function members to implement the behaviour expected of link objects, for example, connecting itself to another link object.

A link is an instance of the TSglQueLink class.