> On Jun 1, 2016, at 11:10 PM, Xiaodi Wu <[email protected]> wrote:
> 
> On Thu, Jun 2, 2016 at 12:03 AM, Jacob Bandes-Storch <[email protected] 
> <mailto:[email protected]>> wrote:
> If it's worth continuing the discussion in this thread, I rather like the 
> MemoryLayout<T>.size idea. For discoverability, we might want to have 
> @availability(*, unavailable, message: "use MemoryLayout<T>.size, etc.") 
> public init(){}.
> 
> It's a nice syntax, but I'm not fully comfortable with the suggestion that 
> sizeofValue(), etc. should go.  Also, I wonder about the static vs. dynamic 
> type issue here (despite having started the last thread, I still haven't sat 
> down to think it through).
> 

Updated with all the feedback so far. Will keep an eye on this.

-- E

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to