Ryan Joseph <[email protected]> schrieb am Mo., 10. Juni 2019, 14:28:
> > > > On Jun 10, 2019, at 3:13 AM, Sven Barth via fpc-devel < > [email protected]> wrote: > > > > A basic principle of operator overloads is that existing, internal > operators are not overloadable. This principle won't be abandoned only > because you want managed classes. > > > > Existing internal operators? Sorry I don’t understand. The := operator is > already overloadable but the left side isn’t passed in. Same goes for other > binary operators where the destination variable is not passed it even > though that could have been useful information. > The operator for assigning one class instance to another exists and is internal thus it is not allowed to be overloaded. Regards, Sven >
_______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
