Reference:
https://stackoverflow.com/questions/29294316/check-if-stdmove-is-done-on-container
n3264
- moved-from shared_ptrs are guaranteed empty
- containers can be "emptier than empty" concept
- user-defined types can be created as weaker concept
- std::containers should be strict concept; i.e after move .empty() should return 'true'
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.