[swift-evolution] Proposal: [stdlib] Remove withUnsafe[Mutable]Pointer[s]()

Joe Groff jgroff at apple.com
Wed Dec 16 16:40:41 CST 2015


> On Dec 16, 2015, at 2:25 PM, Jacob Bandes-Storch via swift-evolution <swift-evolution at swift.org> wrote:
> 
> Is there a reason that this couldn't be made to work?
>     let ptr: UnsafePointer<Void> = &x
> 
Yeah, that could be made to work, and give an error if `x` isn't known to be a stored property.

-Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151216/9958dc5b/attachment.html>


More information about the swift-evolution mailing list