News for hackers. Stuff that matters.
Re:Ownership and Borrowing in D by littlestymaar on Tuesday July 16, 2019 @03:33AM (#20448180)
It can, with the big caveat that it only works well if you don't cross a function boundary.
Re:Ownership and Borrowing in D by didibus on Tuesday July 16, 2019 @12:32PM (#20451564)
Ah, so passing a struct as an argument to a function will still take ownership or borrow the entire struct?