[swift-evolution] [Pitch] Non-class type requirements on protocols (eg : struct, : enum)

Adrian Zubarev adrian.zubarev at devandartist.com
Fri Oct 21 14:13:35 CDT 2016


Sounds good to me :)  

--  
Adrian Zubarev
Sent with Airmail  

Am 21. Oktober 2016 um 21:11:22, Dave Abrahams (dabrahams at apple.com(mailto:dabrahams at apple.com)) schrieb:

>  
>  
> on Fri Oct 21 2016, Adrian Zubarev <adrian.zubarev-AT-devandartist.com> wrote:
>  
> > Does this constraint exclude COW or are we still allowed to have a reference type for storage behind
> > the scenes?
>  
> It does not exclude CoW. Array has value semantics.
>  
> > --  
> > Adrian Zubarev
> > Sent with Airmail
> >  
> > Am 21. Oktober 2016 um 19:50:31, Dave Abrahams via swift-evolution (swift-evolution at swift.org)
> > schrieb:
> >  
> > I'm not sure what you mean by “data-only,” but the constraint I want is
> > “has value semantics.”
>  
> --
> -Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20161021/2e525d4a/attachment.html>


More information about the swift-evolution mailing list