[fpc-devel] Additional generic type constraints
Sven Barth
pascaldragon at googlemail.com
Mon Feb 20 17:12:42 CET 2023
Hairy Pixels via fpc-devel <fpc-devel at lists.freepascal.org> schrieb am So.,
19. Feb. 2023, 03:54:
> As a follow up to my other question, why doesn’t FPC support more types
> for generic type constraints, like Pointer, Integer, String etc...?
> Especially since we have implicit function specialization now allowing the
> user to constrain the types more precision would help.
>
Because Delphi doesn't have them and when constraints were implemented they
were implemented for Delphi compatibility.
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20230220/569be21a/attachment.htm>
More information about the fpc-devel
mailing list