C++ operator new

BLS windevguy at hotmail.de
Sun Jan 25 07:08:49 PST 2009


Daniel Keep wrote:
> This might also be of interest, as it has an example of overriding
> allocation/deallocation to use malloc:
> 
> http://digitalmars.com/d/1.0/memory.html#newdelete

Thanks! It seems that using freelists is preferable. Are there any
drawbacks ? F.I. How to implement a class using freelist + 
constructor/destructor, if possible at all...

Bjoern


More information about the Digitalmars-d-learn mailing list