[swift-evolution] [swift-evolution-announce] [Review] SE-0176: Remove ownership keyword support in protocols

Ray Fix rayfix at gmail.com
Thu Sep 28 00:21:24 CDT 2017


> On Sep 27, 2017, at 10:07 PM, Ray Fix <rayfix at gmail.com> wrote:
> 
> Proposal
> https://github.com/apple/swift-evolution/blob/master/proposals/0186-remove-ownership-keyword-support-in-protocols.md <https://github.com/apple/swift-evolution/blob/master/proposals/0186-remove-ownership-keyword-support-in-protocols.md>
> 
> That said I don’t know if this is an important use case.  I have never used it.
> 

I suppose:

After the ABI is stable you, might get some library that just vends this protocol and you don’t have access to the concrete type that implements it.  This is its way of saying, "I am not obliged to hold onto this thing, so you better manage its lifetime and not depend on me to.”

Ray

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170927/72556a0b/attachment.html>


More information about the swift-evolution mailing list