<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2448.0">
<TITLE>RE: [LC++]Scoping question</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>&gt; Creating all of them in the same file is not really useful in</FONT>
<BR><FONT SIZE=2>&gt; my case,</FONT>
<BR><FONT SIZE=2>&gt; cause it's a whole lot of code. I basically worked around it by </FONT>
</P>

<P><FONT SIZE=2>How about making your objects inherit from a ref counted</FONT>
<BR><FONT SIZE=2>base, and have y's ctor ref x, and the dtor of y unref it ?</FONT>
</P>

<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Vincent Penquerc'h </FONT>
</P>

</BODY>
</HTML>