This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB to C++ issue: deletion
- From: Paul Hilfinger <hilfingr at EECS dot Berkeley dot EDU>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb at sourceware dot org
- Date: Thu, 31 Jul 2008 15:40:02 -0700
- Subject: Re: GDB to C++ issue: deletion
- Reply-to: Hilfinger at CS dot Berkeley dot EDU
> On Thu, Jul 31, 2008 at 03:04:19PM -0700, Paul Hilfinger wrote:
> > This reminded me of an issue that I'd be curious to see discussed.
> > The STL container classes are certainly convenient for decreasing
> > memory leaks with little fuss, but they do so internally with
> > individual frees of allocated items.
>
> Please let's not confuse this already sprawling discussion further
> with this level of detail!
1. Ahem, which is precisely why I used a new subject, so as not to
incorporate an incidental side discussion into the same thread!
2. On the other hand, if someone is going to claim the advantages of
not having to do delete as an advantage, it is not entirely
unreasonable to make sure it really works out that way in practice.
Paul