Nikolay Nikolov <nick...@gmail.com> schrieb am Do., 30. Mai 2019, 00:52:

> So, what's with all this FUD surrounding operator overloading not
> working with objects? Did you even test it, before screaming "legacy!"? :)
>

He's talking about operator overloads that are members of the object like
what was introduced for records and not about global operators.
And yes, there's a small, but important difference: generics can only pick
up the global ones if the unit containing the operator overloads was used
inside the unit the generic was declared in (not specialized in).

Regards,
Sven

>
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to