Comment by jjmarr

Comment by jjmarr 6 hours ago

0 replies

The guarantees is that a moved-from state is in an otherwise valid state.

So, you can do things like check if a moved from std::vector is empty (often the case in practice), then start appending elements to it.