[fpc-devel] Object upgrades

Sven Barth pascaldragon at googlemail.com
Thu May 30 01:42:40 CEST 2019

Nikolay Nikolov <nickysn at 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).


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190530/b31b868d/attachment.html>

More information about the fpc-devel mailing list