[fpc-pascal] Managed properties idea

Sven Barth pascaldragon at googlemail.com
Fri Oct 6 21:17:21 CEST 2017


Am 06.10.2017 20:52 schrieb "Marcos Douglas B. Santos" <md at delfire.net>:
> > And reference counting like in e.g. C++ "shared  pointers", that can
wrap any
> > class, without any additional feature (in Pascal we may get this with
> > "management operators").
>
> I don't know about "management operators". Could you explain more about
them?

Operators for records that are called when initializing, finalizing and
copying that record. See $fpcdir/tests/test/tmoperator[1-10].pp

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20171006/db584cb1/attachment.html>


More information about the fpc-pascal mailing list