What is the ~> (tilde greater than) operator used for in Swift?

前端 未结 3 1075
一个人的身影
一个人的身影 2020-12-03 17:37

Swift 1.1 includes the declaration of the ~> operator:

infix operator ~> {
    associativity left
    precedence 255
}

What is this used

3条回答
  •  醉梦人生
    2020-12-03 18:17

    On SwiftDoc this operator has been removed from the operators chapter for Swift 3.0.

提交回复
热议问题