[Prev][Next][Index]
Re: Problems with SgStatement::copy()
- Date: Tue, 9 Aug 1994 15:04:22 -0600
- From: Diego Novillo <diego@cs.ualberta.ca>
- Subject: Re: Problems with SgStatement::copy()
- To: Dennis Gannon <gannon@cs.indiana.edu>
- Cc: sage-bugs@cica.indiana.edu
- In-Reply-To: <94Aug9.141632mdt.18532-2@scapa.cs.ualberta.ca>
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