From kde-devel Mon May 31 11:59:37 1999 From: Steffen Hansen Date: Mon, 31 May 1999 11:59:37 +0000 To: kde-devel Subject: Re: off-topic: need help with egcs 1.1.2 internal compiler error X-MARC-Message: https://marc.info/?l=kde-devel&m=92815126309470 On Mon, 31 May 1999, Waldo Bastian wrote: > > If you make your own memory management. For example by packing objects > > together in an array. > > Shouldn't you overload operator 'delete' in that case? Not if want to use your objects with the normal allocation routines also. The STL vector template for example uses destruct() to call destructors for each object in the vector before the vector itself is deleted. greetings, -------------- Steffen Hansen | email: stefh@mip.sdu.dk, stefh@imada.sdu.dk,| hansen@kde.org | ABC...VWXKZ :) URL: http://www.mip.sdu.dk/~stefh |