Avatar
modifyreadアクセサのpitchが5年の時を経て出てきましたね。 https://forums.swift.org/t/pitch-modify-and-read-accessors/75627
Hi Swift evolution, We are proposing modify and read accessors for properties and subscripts. The proposal would formalize the underscored _modify and _read accessors that have been unofficially available since Swift 5.0. These accessors allow copies to be avoided when changing and viewing a value's fields. As such, in their underscored form...
👀 2