Swiftの演算子についてまとめてみます。 Swiftの演算子は関数 +-*/==??と言った演算子は全て関数です。 public func +(lhs: Int, rhs: Int) -> Int public func -(lhs: Int, rhs: Int) -> Int public func *(lhs: Int, rhs: Int) -> Int public func /(lhs: Int, rhs: Int) -> Int public func ==(lhs: Int, rhs: Int) -> Bool public func ??<T>(optional: T?, @autoclosure defaultValue: () throws -> T) rethrows -> T struct MyStruct { let id: String } func ==(lh