[fpc-pascal] Implicit generic specializations
Ryan Joseph
ryan at thealchemistguild.com
Mon Dec 3 15:17:18 CET 2018
> On Dec 3, 2018, at 9:10 PM, Martok <listbox at martoks-place.de> wrote:
>
> What happens when there are implicit conversion operators defined?
> I.e.:
>
> operator := (x: integer): string;
> // with and without this more specific overload:
> procedure DoThis(msg:integer);overload;
> generic procedure DoThis<T>(msg:T);overload;
>
> DoThis(42);
How is the assignment operator involved here? Maybe post full code.
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list