Jump to content
Marco Cantu

Directions for ARC Memory Management

Recommended Posts

4 hours ago, Emil Mustea said:

Better: with inline declaration will stay alive until the block end, not until routine end.

And how exactly can we call Add on that "New" record if 

7 hours ago, Emil Mustea said:

there is no need for default property/member lifting

?

Share this post


Link to post

Yes, you are right, we still need member lifting. Until then, the nicest remains Interface use like Primož said:

 

uses Spring;

var ms := Shared.New(TStringList.Create);
...

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×