Ryan Joseph <[email protected]> schrieb am Mo., 10. Juni 2019, 03:00:

> Sorry to bring this up again but I had a thought today while working
> regarding class operator overloads in classes (i.e. operators that are
> members of classes).
>
> If the operators in classes allowed another parameter for the left sided
> value could this idea be more viable? Unless I’m mistaken I think this
> would make it possible to do the memory management required.
>

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.

Regards,
Sven

>
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to