<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-10-06 21:17 GMT+02:00 Sven Barth via fpc-pascal <span dir="ltr"><<a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><p>Am 06.10.2017 20:52 schrieb "Marcos Douglas B. Santos" <<a href="mailto:md@delfire.net" target="_blank">md@delfire.net</a>>:<br>
> > And reference counting like in e.g. C++ "shared  pointers", that can wrap any<br>
> > class, without any additional feature (in Pascal we may get this with<br>
> > "management operators").<br>
><br>
> I don't know about "management operators". Could you explain more about them?</p>
</span><p>Operators for records that are called when initializing, finalizing and copying that record. See $fpcdir/tests/test/tmoperator[<wbr>1-10].pp</p></blockquote><div> </div><div class="gmail_quote"><div>... and here is library with exclusive usage of "management operators" for FPC:</div><div><br></div><div><a href="https://github.com/pda0/AutoScope">https://github.com/pda0/AutoScope</a> </div></div><div><br></div><div>... and here is experimental smart pointers/objects/nullable types implementation:</div><div><br></div><div><a href="https://github.com/maciej-izak/PascalSmartPointers">https://github.com/maciej-izak/PascalSmartPointers</a><br></div><div><br></div><div>-- <br></div></div><div class="gmail_signature"><div dir="ltr"><div>Best regards,<br>Maciej Izak</div></div></div>
</div></div>