Avatar
その場合は & なしでw func foo(_ x: UnsafePointer<Int>) {} func foo(_ x: UnsafePointer<[Int]>) {} var b = [42] foo(b) // OK (edited)