How would you deal with the existence of:
UnsafeMutablePointer<Pointee>.init(mutating other: UnsafePointer<Pointee>)

No unsafe pointer can guarantee that it won’t be used to mutate its pointee.
Requiring a mutable variable seems like truth in advertising.

Sincerely,
Guillaume Lessard

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to