From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27369 invoked by alias); 31 Jul 2008 22:40:24 -0000 Received: (qmail 27151 invoked by uid 22791); 31 Jul 2008 22:40:23 -0000 X-Spam-Check-By: sourceware.org Received: from tully.CS.Berkeley.EDU (HELO tully.CS.Berkeley.EDU) (128.32.153.206) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 31 Jul 2008 22:40:05 +0000 Received: from tully.CS.Berkeley.EDU (localhost [127.0.0.1]) by tully.CS.Berkeley.EDU (8.13.8+Sun/8.13.8) with ESMTP id m6VMe2XR007655; Thu, 31 Jul 2008 15:40:02 -0700 (PDT) Message-Id: <200807312240.m6VMe2XR007655@tully.CS.Berkeley.EDU> To: Daniel Jacobowitz cc: gdb@sourceware.org Subject: Re: GDB to C++ issue: deletion Reply-To: Hilfinger@CS.Berkeley.EDU In-reply-to: Your message of Thu, 31 Jul 2008 18:29:50 -0400. <20080731222950.GA27792@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <7651.1217544002.1@tully.CS.Berkeley.EDU> Date: Thu, 31 Jul 2008 22:58:00 -0000 From: Paul Hilfinger Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-07/txt/msg00357.txt.bz2 > 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