[fpc-devel]per-class memory manager

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Tue May 22 00:02:38 CEST 2001

On Sun, 20 May 2001, Aleksey V. Vaneev wrote:

> Hello,
>   Sorry, if this question was/is discussed somewhere. I just wanted to
>   ask if it is possible to assign to a class a custom memory
>   manager.

It is not possible.

>  Sometimes it is very efficient to allocate objects on a
>   static memory pool.

Maybe, but if  a descendent of the object would be made, then the size
would increase, and this would create problems with the static memory pool.

>   And the accompanying question - how to get object's size? Can I safely
>   use class function InstanceSize?



More information about the fpc-devel mailing list