[fpc-pascal] Is there a way to create a generic pointer to a generic record

Le Duc Hieu alaviss0 at gmail.com
Fri Nov 18 17:11:36 CET 2016


Hi,

I'm trying to write a generic linked-list without the use of classes and
objects.

I need to be able to create generic pointer like this:

Type
  generic PGList<T> = ^specialize TGList<T>;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20161118/31fb9b56/attachment.html>


More information about the fpc-pascal mailing list