Jonas Maebe wrote:
On 19 Sep 2009, at 22:21, Mark Morgan Lloyd wrote:

Is there any way of overloading the ^ (dereference) operator for a user-defined type?

No, it isn't.

Shucks :-) I remember that JPI v1 had what they called "virtual pointers" which specified a dereference function and could be useful, OTOH with today's flat memory and improved OSes there's probably other ways of doing it.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to