This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: adding destroyable objects into Ggc
On Tue, 18 Oct 2011 10:36:08 -0700
Ian Lance Taylor <iant@google.com> wrote:
> On Tue, Oct 18, 2011 at 10:13 AM, Basile Starynkevitch
> <basile@starynkevitch.net> wrote:
> >
> > Still, I find strange that while some very smart & nice GCC guys want to get rid of Ggc,
> > no patch made into the trunk towards that goal (which I Basile dislike and don't share,
> > so don't expect me Basile to work on this.).
>
> I've put a lot of work into making it possible to build gcc as a C++ program.
I do know that, and as many GCC developers I am grateful to you Ian for your big work.
However, I don't know very well auto_ptr. Could you explain to use how do they deal with
*circular* memory references.... (perhaps by taking as examples code inside GCC).
My feeling is that auto_ptr is not able to deal with them, but I'll be delighted to be
proven wrong.
Cheers.
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mine, sont seulement les miennes} ***