2017-10-06 21:17 GMT+02:00 Sven Barth via fpc-pascal <
fpc-pascal@lists.freepascal.org>:

> Am 06.10.2017 20:52 schrieb "Marcos Douglas B. Santos" <m...@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
>

... and here is library with exclusive usage of "management operators" for
FPC:

https://github.com/pda0/AutoScope

... and here is experimental smart pointers/objects/nullable types
implementation:

https://github.com/maciej-izak/PascalSmartPointers

-- 
Best regards,
Maciej Izak
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to