Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Swift 4.0 Released. Parent comment
Sure it does:
func modify(_ x:UnsafeMutablePointer<Int>) { x.pointee = 12; } func main() { var x = 23; print("Before \(x)\n"); modify(&x); print("After \(x)\n"); }
https://www.cheerupemokid.com/wp-content/uploads/2015/05/201...
Sure it does: