On 2015-02-27 23:11:55 +0000, deadalnix said:
On Friday, 27 February 2015 at 23:06:26 UTC, Andrei Alexandrescu wrote:
OK, so at least in theory autorelease pools are not necessary for
getting ARC to work? -- Andrei
ARC need them, this is part of the spec. You can have good RC without them IMO.
Apple's ARC needs autorelease pools to interact with Objective-C code.
But if by ARC you just mean what the acronym stands for -- automatic
reference counting -- there's no need for autorelease pools to
implement ARC.
--
Michel Fortin
[email protected]
http://michelf.com/