From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from qmta08.westchester.pa.mail.comcast.net (qmta08.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:80]) by hurricane.the-brannons.com (Postfix) with ESMTP id 38DB377894 for ; Thu, 30 Jan 2014 09:49:29 -0800 (PST) Received: from omta02.westchester.pa.mail.comcast.net ([76.96.62.19]) by qmta08.westchester.pa.mail.comcast.net with comcast id LCVj1n0020QuhwU58Hp57W; Thu, 30 Jan 2014 17:49:05 +0000 Received: from eklhad ([107.5.36.150]) by omta02.westchester.pa.mail.comcast.net with comcast id LHp51n00S3EMmQj3NHp5RY; Thu, 30 Jan 2014 17:49:05 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke User-Agent: edbrowse/3.4.10 Date: Thu, 30 Jan 2014 12:49:05 -0500 Message-ID: <20140030124905.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1391104145; bh=b8/MuM2wnWQNeCWrXlu4km9RAi81vZVHiOHTKfUqiBE=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=gaV1ilM8yeI/SA/2yoxJ2BrFjnrQUURNkQeYxkr7l6X6LmRgbx1DLwjaWc+hvle0T ezif2w+zid13mZrqTPg/Y3YQDLv7YuvSVgn87VnjAuyblWASVwTt5iyjWchu8q8KsT /tVd4IykjRd5yqIQLupX1383Pzqq8mPboiTMBpLjoJpGN9iOZEEDY/4slPjwKLV4i9 u/w3u3JE4hWBMx5INn+6FkxcQIv2R7Dvm6LVKW3rzbXk5OqpgRv1EdhO29ce/i/8kL w7NdtXiUFExB5xpXH81uSN+HDVAoN8XBGhwDcB6EHGRgEsDx/0m2lpMvjAMeXU8vBx fxFKmBxBnAaqw== Subject: [Edbrowse-dev] [PATCH] Use the list class from the C++ STL,... X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Karl Dahlke List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2014 17:49:29 -0000 static list < struct htmlTag *>htmlStack; It may just be a matter of style, or perhaps evolution since my lists had to handle pointers, but why aren't you using static list < struct htmlTag >htmlStack; An array of the actual structures, rahter than pointers to the structures. Thus the structures are allocated and freed as you go, by C++, and I don't have to alloc and free them. They are "inline", for lack of a better term. I'm just looking to understand here, and to learn what these lists can do for us. Karl Dahlke