[LC++]Scoping question

Vincent Penquerc'h Vincent.Penquerch at artworks.co.uk
Tue Jul 23 00:32:05 UTC 2002


> Creating all of them in the same file is not really useful in
> my case,
> cause it's a whole lot of code. I basically worked around it by 

How about making your objects inherit from a ref counted
base, and have y's ctor ref x, and the dtor of y unref it ?

-- 
Vincent Penquerc'h 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux.org.au/pipermail/tuxcpprogramming/attachments/20020723/4f425c96/attachment.htm 


More information about the tuxCPProgramming mailing list