Hacker News new | ask | show | jobs
by remexre 502 days ago
If an object is a RAII container though, shouldn't moving transfer the ownership of the contents to the destination? Otherwise there's no way to increase the lifetime of the contents.