Swift does away with pointers == pervasive ARC

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 17 14:08:12 PDT 2014


On Tuesday, 17 June 2014 at 20:36:58 UTC, Nick Sabalausky wrote:
> Speaking of manual memory management, is it currently possible 
> to manually allocate closures?

Yes and no. You can create a delegate manually by creating a
struct with a method.

You can also force allocation on the stack by using scope.


More information about the Digitalmars-d mailing list