The letter

One letter a week, in your inbox.

The signal of the week, what shipped, what to try, and the editor's note. No tracking, no ads, nothing else.

We keep your address, your language and the date you joined, nothing else. Every letter has a one-click unsubscribe link that deletes the record.

← Accept All   Archive
Swift Forums announcementsLanguages

[Pitch] Ownership for Subscript Parameters

September 10

Hi all, Here is a short "filling in gaps" pitch to enable inout, borrowing, and consuming parameters for subscripts . This will make the following ill-formed code valid: struct X { subscript(oldValue: inout Int) -> Int {

Pitches
Read at Swift Forums announcements ↗

Related

More from Swift Forums announcements on Accept All.