Comment by charcircuit
11 hours ago
Taking a step back I think the issue is that your foo takes an rvalue reference. Which is not the case we are talking about which is whether a move or copy constructor is used when constructing the parameter of foo.
No comments yet
Contribute on Hacker News ↗