Am 07.10.2017 17:15 schrieb "Marcos Douglas B. Santos" <[email protected]>: > > On Fri, Oct 6, 2017 at 4:17 PM, Sven Barth via fpc-pascal > <[email protected]> wrote: > > Am 06.10.2017 20:52 schrieb "Marcos Douglas B. Santos" <[email protected]>: > >> > 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 > > I saw... Looks like that now a record is a hybrid made by a record plus a class. > Thanks for the info.
Records can have methods and operator overloads already since 2.6.0, only the management operators are a new addition to trunk. Regards, Sven
_______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
