Would adding a "init(_: T.self) {...}" solve that issue?
- Dave Sweeris
Sent from my iPhone
> On Jun 29, 2016, at 01:54, Dave Abrahams via swift-evolution
> <[email protected]> wrote:
>
> My worry is that people will write
>
> MemoryLayout(Int.self).size
>
> when they mean
>
> MemoryLayout<Int>.size
>
> (often because for some reason they don't like angle brackets).
>
> I prefer to make the uncommon case much harder to write.
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution