[fpc-devel] Operator overloading
jonas at freepascal.org
Sat Apr 13 15:49:31 CEST 2019
On 08/04/2019 21:39, Bart wrote:
> Is operator overloading possible at all in MacPas mode (does it need
> some modeswitch)?
It's not possible.
> If this is not the case, then why forbid this particular operator
> overload at all?
You can use a unit that is compiled in e.g. mode ObjFPC in a unit
compiled in MacPas mode, and then the latter will use the overloaded
operators from the former.
More information about the fpc-devel