Wanted in Swift: forwarding accessors, to avoid repeating an access path twice. var foo: Int { forward { yield &fooImpl.value } } (At some point I may come back to the Swift project as an open source contributor and then maybe I'll pitch all these things properly.)
-
-
In full generality I think you'd need to forward both `read` and `modify`. In a lot of cases, though, I imagine both implementations are identical; maybe `forward` could be sugar to expand to an identical `read` and `modify` implementation
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.