On Thu, Jun 2, 2016 at 12:03 AM, Jacob Bandes-Storch <jtban...@gmail.com> 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).
_______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution