> On Sep 19, 2016, at 1:24 AM, Martin R via swift-dev
> wrote:
>
> I noticed that both UnsafePointer and UnsafeMutablePointer have the identical
> method
>
>public func withMemoryRebound(to: T.Type, capacity count: Int,
> _ body: (UnsafeMutablePointer) throws -> Result) rethrows -> Resul
I noticed that both UnsafePointer and UnsafeMutablePointer have the identical
method
public func withMemoryRebound(to: T.Type, capacity count: Int, _
body: (UnsafeMutablePointer) throws -> Result) rethrows -> Result
so that rebinding an immutable pointer gives you a _mutable_ pointer. That