[webkit-dev] WebKit memory management?
treat at kde.org
Mon Sep 15 08:58:56 PDT 2008
On Monday 15 September 2008 6:29:04 am Arvid Nilsson wrote:
> If I understand Mr. Pedriana correctly, you are incorrect in assuming that
> we would get "reduced syntax readability". You may use the regular "new"
> syntax that C++ programmers are accustomed to when allocating objects and
> arrays of objects that inherit from AllocBase. Pedriana proposes that we
> eventually add AllocBase as the base class of all root classes in WebKit,
> thus making AllocBase the only root class.
> The only time when you would need to use newObject/newArray is for some
> stray new/new calls when allocating something that does not inherit from
> AllocBase, i.e. a simple datatype.
This is correct. Also, this conversation is suited for the actual bugzilla,
More information about the webkit-dev