Subject | RE: [IB-Architect] New API: Object Life Time |
---|---|
Author | Bill Lancaster |
Post date | 2000-06-02T15:47:17Z |
At 10:25 AM 6/2/00 -0400, you wrote:
want to make them "non-implemented" and private.
Bill
PS) I was scarred for life with my experience with refcounting.
>At 01:20 AM 6/2/00 -0400, Claudio Valderrama C. wrote:Don't forget about the copy constructor and assignment operator. You may
>>>
>>> Object life times are managed with addRef() and release(). When
>>> the use count (decremented by release()) goes to zero, the object
>>> joins the great bit bucket in the sky.
>>
>>
>> Seem fine and you can do whatever you want in the implementation. Trying to
>>avoid delete operator?
>>
>
>I've made all destructors protected to make explicit deletion
>illegal. Everything is now released.
>
want to make them "non-implemented" and private.
Bill
PS) I was scarred for life with my experience with refcounting.