3 ms·
Swift 5.9 dropped at WWDC, and with it came with noncopyable value types: https://github.com/apple/swift-evolution/blob/main/proposals/0390-noncopyable-structs
by conradev 3y ago
Swift 5.9 dropped at WWDC, and with it came with noncopyable value types:
https://github.com/apple/swift-evolution/blob/main/proposals/0390-noncopyable-structs-and-enums.md https://github.com/apple/swift-evolution/blob/main/proposals...
as well as a way to explicitly move types:
https://github.com/apple/swift-evolution/blob/main/proposals/0366-move-function.md https://github.com/apple/swift-evolution/blob/main/proposals...
I haven’t read either in-depth, though!
- adamwk 3y agoJust last week owning and borrowing parameters got accepted as well. https://github.com/apple/swift-evolution/blob/main/proposals/0377-parameter-ownership-modifiers.md https://github.com/apple/swift-evolution/blob/main/proposals... It’s been the focus for a while especially after the concurrency work. It’s probably the final major feature before Swift 6