[fpc-devel] Creating Generic Object

Sven Barth pascaldragon at googlemail.com
Mon Apr 16 14:03:51 CEST 2018


Bart <bartjunk64 at gmail.com> schrieb am Mo., 16. Apr. 2018, 12:18:

> On Mon, Apr 16, 2018 at 7:53 AM, Sven Barth via fpc-devel
> <fpc-devel at lists.freepascal.org> wrote:
>
> >> This is very nice feature since I do not need define every Map/List/etc
> >> as a  separate type.
>
> > Just declare a type for the specialization:
>
> The obvious (and correct answer) but, this is exactly what OP tries to
> avoid (if I understand OP correctly).
>

But the OP can't avoid it, simple as that.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20180416/eb1bc221/attachment.html>


More information about the fpc-devel mailing list