Thomas Kurz via fpc-pascal <[email protected]> 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 operators. Regards, Sven >
_______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
