Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on You can't Rust that. Parent comment
no, every time you have a function returning a temporary you can have a move, e.g.
std::vector<int> myfun(); struct myclass { myclass(std::vector<int> v); };
myclass c{myfun()};
There are no comments on this comment yet.
no, every time you have a function returning a temporary you can have a move, e.g.
here if you do there can be a move