“Weak reference”: down to earth explanation needed

后端 未结 4 388
暗喜
暗喜 2021-02-04 03:17

Can someone provide an explanation of a weak reference in Delphi?

I noticed that the concept is often mentioned in some library/framework source code I scrutini

4条回答
  •  面向向阳花
    2021-02-04 03:51

    See also

    Automatic Reference Counting in Delphi Mobile Compilers

    which includes documentation of the new [weak] attribute:

    Another important concept for ARC is the role of weak references, which you can create by tagging them with [weak] attribute.

提交回复
热议问题