GDB to C++ issue: deletion
Paul Hilfinger
hilfingr@EECS.Berkeley.EDU
Thu Jul 31 22:58:00 GMT 2008
> 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
More information about the Gdb
mailing list