Hacker News new | ask | show | jobs
by devinj 3116 days ago
std::move should extend the lifetime of a temporary like static_cast does. (Or else not accept temporaries). Otherwise, no new features necessary. But that one bites sometimes.