> On Apr 30, 2022, at 6:17 PM, Hairy Pixels wrote:
>
> 2) Right now helpers only support single types but they would need to be
> extended to support “array of T”, “set of T”,which by, why aren’t those
> supported as it is? I can’t seem to think of any reason they should be
> disallowed. The
Hi,
Em sáb., 30 de abr. de 2022 às 09:13, Mattias Gaertner via fpc-pascal
escreveu:
>
> AFAIK it is planned for mode objfpc to support distinguishing types via
> template count as in mode delphi:
>
> type
> TMyClass = class
> end;
> generic TMyClass = class
> end;
> generic TMyClass = c
> On Apr 30, 2022, at 7:02 PM, Mattias Gaertner via fpc-pascal
> wrote:
>
> AFAIK it is planned for mode objfpc to support distinguishing types via
> template count as in mode delphi:
>
> type
> TMyClass = class
> end;
> generic TMyClass = class
> end;
> generic TMyClass = class
> end;
>
> S
On Sat, 30 Apr 2022 18:17:25 +0700
Hairy Pixels via fpc-pascal wrote:
>[...]
> So I wonder if the shorthand:
>
> generic THelper = class helper for TMyClass
AFAIK it is planned for mode objfpc to support distinguishing types via
template count as in mode delphi:
type
TMyClass = class
> On Apr 25, 2022, at 8:27 PM, Hairy Pixels wrote:
>
>> For some reason I don't get all mails by Ryan, so I reply here:
>>
>> Helpers currently can't be generic and even if they could be (which I do
>> plan to add) it would require an explicit specialization of the helper to be
>> used becau