Design Patterns - Iterator Pattern Explanation and usage with STL in C++

Описание к видео Design Patterns - Iterator Pattern Explanation and usage with STL in C++

►Software Design and Design Patterns Playlist:    • C++ Software Design and Design Patterns  
►Find full courses on: https://courses.mshah.io/
►Join as Member to Support the channel:    / @mikeshah  

►Git Repo: https://github.com/MikeShah/DesignPat...
►Lesson Description: In this lesson I present to you the behavioral pattern for the iterator. Iterating through code is something you are likely familiar with, but using iterators is useful for clearly showing the intent in the code for how you traverse a data structure. Additionally, iterators provide a uniform way to traverse a data structure if you need to make changes in multiple places.

00:00 Introduction to the Iterator Behavioral Pattern
2:00 C++ iterators for STL
2:50 A series of trivial Iteration examples
6:00 Built-in iterator examples
8:36 const_iterator
9:56 reverse iterator
11:04 std::next and std::advance to control iterator
12:59 Ranged-based loops
14:08 Iterators in an unordered_map
16:48 Wrap up and conclusion

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

Комментарии

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