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