Le 17 févr. 2017 à 3:25, John McCall via swift-evolution <[email protected]> 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
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution
