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

Adrian Zubarev adrian.zubarev at devandartist.com
Fri Oct 21 13:05:40 CDT 2016

Does this constraint exclude COW or are we still allowed to have a reference type for storage behind the scenes?

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.”
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20161021/9f42010a/attachment.html>

More information about the swift-evolution mailing list