Le 17 févr. 2017 à 3:25, John McCall via swift-evolution 
<swift-evolution@swift.org> a écrit :

> func endScope<T>(_ value: T) -> () {}

Just to be sure, that is the same thing as `move` where you to discard the 
return value, right?

        let something = make()
        endScope(something)

vs.

        let something = make()
        _ = move(something)

-- 
Michel Fortin
https://michelf.ca

_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to