[fpc-devel] Thoughts on being able to declare "pointer-to-type" parameters directly in method signatures?

Sven Barth pascaldragon at googlemail.com
Fri Jun 7 23:30:13 CEST 2019


Am 07.06.2019 um 23:17 schrieb Ryan Joseph:
>
>> On Jun 7, 2019, at 5:06 PM, Sven Barth via fpc-devel <fpc-devel at lists.freepascal.org> wrote:
>>
>> No. The generic keywords are part of mode ObjFPC. The only thing I plan to do is to move the whole idea of generic keywords to a modeswitch, but that is neither here nor there currently.
> Good idea to make generics a mode switch. That probably will improve compiler times.
Huh? Who said anything about generics themselves? I meant the generic 
keywords: "generic" and "specialize". So that those that want to use 
mode ObjFPC without the keywords can do so.
Also it makes no sense to disable specializations as more and more 
generics are becoming part of the RTL/FCL.

Regards,
Sven



More information about the fpc-devel mailing list