Re: [Fwd: Refcounted allocator]

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 07 Nov 2002 15:38:24 +0100

Can you expand a little on this please?

Note: Some recent experiences with cbdata indicates these could do good
if converted to be based on refcounted pointers, with the addition of a
invalidation method. And yes, it is entirely possible cbdata and rcdata
can be merged into one single class in C++.

Regards
Henrik

tor 2002-11-07 klockan 09.53 skrev Robert Collins:

> > Finally, we can only use this in classes that call the destructor at
> > some point, to be sure that SomeClassPointer objects go out of scope.
> > It's trival to make a cbdata class call the destructor, and I'll
> > document that in an email to this list before commiting the refcount
> > code to HEAD.. We can also convert cbdata classes to refcounted where
> > appropriate (which may be everywhere, but that is a different
> > discussion). It's also possible (as a transition strategy) to have
> > CBDATA's SomeClassPointers, but that may not be needed so I won't code
> > it up until it is :}).
Received on Thu Nov 07 2002 - 07:37:40 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:18:38 MST