> On Jun 2, 2016, at 10:12 AM, Matthew Johnson <[email protected]> wrote: >> On Jun 2, 2016, at 11:04 AM, Erica Sadun <[email protected] >> <mailto:[email protected]>> wrote: >>> On Jun 2, 2016, at 9:48 AM, Matthew Johnson via swift-evolution >>> <[email protected] <mailto:[email protected]>> wrote: >>> >>> struct MemoryLayout<T> { >>> init() {} >>> init(t: T) { /* throw away the value */ } >> >> And amended Alternatives with this. :) > > Thanks! Can you change the init signature with Pyry’s improvement: `init(_: > @autoclosure () -> T) {}`?
https://github.com/erica/swift-evolution/blob/sizestride/proposals/XXXX-sidestride.md -- E
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
