[Prev][Next][Index]

Re: Problems with SgStatement::copy()



On Tue, 9 Aug 1994, Dennis Gannon wrote:

> Diego,
> here is one idea:
> do not create a new statement and then copy over it with
> the assignment operator.  
>
Thanks. How about keeping a pointer to the statement instead of 
duplicating it? Now the question is, when will the statement be removed 
from memory? When the SgFile variable goes out of scope?

Thanks. Diego.

--
Diego A. Novillo                  | "We each pay a fabulous price for our
diego@cs.ualberta.ca              |  visions of paradise. But a spirit with
Computing Science - U of Alberta  |  a vision is a dream with a mission"
Edmonton, Alberta - Canada        |             Rush - Mission