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

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -