STL C++ Iterators - Iterator Invalidation | Modern Cpp Series Ep. 140

Описание к видео STL C++ Iterators - Iterator Invalidation | Modern Cpp Series Ep. 140

►Full C++ Series Playlist:    • The C++ Programming Language  
►Find full courses on: https://courses.mshah.io/
►Join as Member to Support the channel:    / @mikeshah  

►Lesson Description: In this lesson I talk about the idea of iterator invalidation, this idea that the iterators that you have could become invalid if you modify the shape (i.e. by adding or removing an element) of a data structure. We'll look at an example where 'erase' and push_back may (or may not -- in the case that we do not discover it) cause problems.

►YouTube Channel:    / mikeshah  
►Please like and subscribe to help the channel!
►Join our free community: https://courses.mshah.io/communities/...

Комментарии

Информация по комментариям в разработке