On 10/31/06, Amir Taaki <[EMAIL PROTECTED]> wrote:
> Inheriting csRefCount means that an object won't work with csWeakRef's... Is
> there anyway I can make it work without messing with the scf stuff? Or should
> I just use a normal pointer and do if (obj->GetRefCount () == 0) for testing
> valid objects?

You might consider adding a csRefWeak (or whatever) class to
libs/csutil which implements csWeakRef. You would then inherit from
the new class. If you need reference counting and weak references,
then multiple inheritance would seem warranted.

-- ES

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to