func swap<T>(inout: T, inout: T) Exchange the values of a and b Declaration func swap<T>(inout a: T, inout b: T)