News for hackers. Stuff that matters.
Re:C++ the Good Parts (2014) by richardwhiuk on Thursday October 01, 2020 @03:23PM (#24655160)
You can do stuff:

  @autoreleasepool {
    RaiObj* obj = [RaiObj new];
    [obj autorelease];

    //... stuff
  }
will de-allocate at the end of the block if nothing else hold onto it, but it's obviously less neat.

There are no comments on this comment yet.