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
Post a Comment