Is there a non-reference-counted base class like TInterfacedObject?

前端 未结 5 1462
无人及你
无人及你 2021-02-07 08:47

I need a base class like TInterfacedObject but without reference counting (so a kind of TNonRefCountedInterfacedObject).

This actually is the

5条回答
  •  忘掉有多难
    2021-02-07 09:27

    You might consider TInterfacedPersistent. If you don't override GetOwner it does no ref-counting.

提交回复
热议问题