UnsafeMutablePointer
UnsafePointer
var a = 42 let p = UnsafeMutablePointer(&a) func foo(_ p: UnsafePointer<Int>) { print(p.pointee) } foo(p)
let p2: UnsafePointer<Int> = p