[fpc-pascal] operator overloading question

Daniël Mantione daniel.mantione at freepascal.org
Tue May 8 12:11:08 CEST 2007



Op Tue, 8 May 2007, schreef Alexey Pavluchenko:

> the compiler (2.0.4) stops with the "impossible operator overload"
> message. Two questions arise: 1) why is it considered impossible

Overloading pointers turned out to be too problematic in the past, so it =

was to be disabled. Overloading dynamically allocated data structures is =

problematic anyway due to memory management.

> and
> 2) how can I workaround this?

You can overload Tbar instead.

Dani=EBl


More information about the fpc-pascal mailing list