News for hackers. Stuff that matters.
Re:Rust – Compile Time Memory Safety by pbsd on Tuesday April 23, 2019 @04:35AM (#19726608)
A moved-from std::vector<int> will always be empty. However, a moved-from std::vector<int, custom_stateful_allocator> may not be.

Howard Hinnant had a Stack Overflow reply a while back going through the possible corner cases of this precise question: https://stackoverflow.com/a/17735913

There are no comments on this comment yet.