Using Delphi object constructors on preallocated memory -



Using Delphi object constructors on preallocated memory -

in c++, there exists inplace-new operator create object using preallocated memory. there equivalent alternative in delphi?

there no direct equivalent (that know of), can accomplish much same effect (controlling how , memory object type allocated) overriding newinstance class function in custom class , providing implementation, provides space new instance custom heap pool.

delphi

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -