Y
Hacker News
new
|
ask
|
show
|
jobs
by
dearrifling
2609 days ago
One shouldn't std::move in a return. Returning a local is already automatically an rvalue, however explicitly moving it disables copy elision.
1 comments
petters
2608 days ago
You are completely right. That should be fixed
link