[fpc-devel] TList or TFPList - a Linked list ?

Sterling Bates whoelse at sterlingbates.com
Thu Dec 15 00:22:53 CET 2005


Mattias Gaertner wrote:

>If the linked list item contains the whole data, then you are either not
>talking of the generic list this thread is about, or you use templates. In
>the later case a TList will also use templates and the 'payload' is the
>same.
>  
>
That's true of records, sure.  Someone could also create a 
TLinkedListItem base class from which to descend and store their data 
there.  The next & prev pointers can be stored in the base class.

Anyway, thanks for the discussion :)



More information about the fpc-devel mailing list