Is it safe to assume that any pointers I have to elements inside of an std::deque
are still valid after moving the deque to another one with the move constructor?
For std::vector
I cannot see any reason why they wouldn't be, but I'm not familiar enough with std::deque
to be sure I can make the same assumption.
Aucun commentaire:
Enregistrer un commentaire