Avatar
@_specialize(exported: true, kind: full, where K == Int, V == Int) @_specialize(exported: false, kind: partial, where K: _Trivial64) func dictFunction<K, V>(dict: Dictionary<K, V>) { }
10:36 AM
The Swift Programming Language. Contribute to apple/swift development by creating an account on GitHub.
10:36 AM
specializeアトリビュート自体を複数書くとできると思います。