2016-03-11 11:25 GMT+01:00 Sven Barth <pascaldra...@googlemail.com>: > What do you mean with AddRef operator? > > AddRef is a special case, is used for records passed to procedures by value (to increase reference count for strings, interfaces, dyn. arrays).
I have done a little patch (r33229), where copy and addref empty slots/placeholders in VMT are omitted. I need to think about it (AddRef operator existence is uncertain). For merge with trunk purpose is recommended to use smart_pointers branch r33229 (more optimal "Init VMT" without empty slots for management operators: AddRef and Copy). > What do you mean with special operator? > (maybe this should be discussed in a new thread however) > I'd like to omit discussion on this topic for a while. I need to finish research first. -- Best regards, Maciej Izak
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel