[fpc-pascal] generic proc inference
Ryan Joseph
genericptr at gmail.com
Mon Oct 7 18:38:51 CEST 2019
> On Oct 7, 2019, at 10:19 AM, Mattias Gaertner via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>
> Note that in Delphi the "non-generic-wins" rule is per parameter:
>
> procedure Run<T>(a:T; b: word);
> procedure Run<T>(a: word; b: T);
I mean what happens here? The non-generic functions wins right?
procedure Run<T>(a:T; b: word);
procedure Run<T>(a: word; b: T);
procedure Run(a: word; b: word);
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list