3 ms·
Never use std::move on an rvalue. That is always wrong, and shows a misunderstanding of std::move. std::move doesn't move. It should maybe have been called std
by knorker 6y ago
Never use std::move on an rvalue. That is always wrong, and shows a misunderstanding of std::move.
std::move doesn't move. It should maybe have been called std::lvalue_to_rvalue.
- knorker 6y ago… and I meant to add: Which makes it clear that you should neverer pass an rvalue into std::lvalue_to_rvalue.