On 20/12/15 1:19 , Dave Abrahams wrote: > >> On Dec 19, 2015, at 5:04 PM, T.J. Usiyan via swift-evolution >> <swift-evolution@swift.org <mailto:swift-evolution@swift.org>> wrote: >> >> Would `consumeReleased` work at all? It captures the 'don't use this >> again' aspect and 'release' without much extra. > > Unfortunately that name seems to imply you're consuming something that > has already been released. You're actually consuming a retain that > happened in the CF function.
I thought of `autoreleased` (for copy semantics) and `retained` (for create semantics), but people not used to MRC might think misunderstand them, I suppose. -- Rainer Brockerhoff <rai...@brockerhoff.net> Belo Horizonte, Brazil "In the affairs of others even fools are wise In their own business even sages err." http://brockerhoff.net/blog/ _______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution