Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2006-08

operator overloading

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Kendall Bell

I can't seem to be able to overload the = operator for classes. Every time I try I get the following error:
Error: Impossible operator overload
I can overload all other operators just fine. Is this a bug, or dos the compiler just not allow overloading of the = operator for classes.