[swift-evolution] [Pitch] Add overrides with UnsafePointer sources to non-destructive copying methods on UnsafeMutablePointer
jnosh at jnosh.com
Tue Feb 9 10:53:32 CST 2016
I think it might be useful for a case where you don't know if you have overlapping ranges and use `assignBackwardFrom()` defensively?
> On 09 Feb 2016, at 17:40, Guillaume Lessard <glessard at tffenterprises.com> wrote:
> Question: does assignBackwardFrom() need an UnsafePointer overload? Its use case is for moving a block into an overlapping range, which implies both would have to be UnsafeMutablePointer, unless typecasting has already happened; in that case another typecasting operation is not a problem…
> Guillaume Lessard
More information about the swift-evolution