[swift-evolution] [Draft] UnsafeRawPointer API
Andrew Trick
andrew.trick at gmail.com
Mon Jun 27 18:00:41 CDT 2016
> On Jun 27, 2016, at 3:27 PM, Dave Abrahams <dabrahams at apple.com> wrote:
>>
>> Any gripes about this syntax?
>>
>> let ptrB = UnsafeRawPointer(ptrA).cast(to: UnsafePointer<B>.Type)
>
> Aside from the fact that it doesn't compile? (s/Type/self/) ;-)
Sorry, I keep converting between decl/use style and forgetting to update that.
> No gripes. I think I suggested it.
I was responding to LM, and the rest of the list…
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160627/ce1d6133/attachment-0001.html>
More information about the swift-evolution
mailing list