这是我自己给的命名,因为这个特性暂时看是 undocumented 的。通过 lldb 和 Xcode 的变量 inspector 功能发掘出来的。然后尝试调用没有问题。 This is an undocumented feature. I found it by lldb and the variable inspector of Xcode6-beta. 形式: @conversion func __conversion<T>() -> T { } 先随便设想个场合。比如我们某个库需要表示一个…