[fpc-pascal] Operator not overloaded
pascaldragon at googlemail.com
Fri Jun 24 23:29:44 CEST 2022
Thomas Kurz via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am
Fr., 24. Juni 2022, 15:33:
> Thank you very much, declaring the operator within the record does indeed
> solve the issue.
> Just to be sure in case I might need it some day: Does this mean, if I
> need e.g. a comparison operator for a specialized TPair, I would declare a
> record class helper and define the operator there?
No, because for helpers the same restrictions apply as they do for global
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal