|
||
An element in a singly linked list can be any kind of object. To allow an object to become an element of a singly linked list, the class of which that object is an instance, must include a link as a component.
A link object has data members containing pointers which point 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.