STL std::pair (and also a peek at std::ref and std::get) | Modern Cpp Series Ep. 125

Описание к видео STL std::pair (and also a peek at std::ref and std::get) | Modern Cpp Series Ep. 125

►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 give you an introduction to the std::pair data structure which is a special case of std::tuple. std::pair you will see often come up when talking about key/value pairs -- and soon we are going to be talking about std::map, std::unordered_map, and more! Finally, in this lesson I'll show you how we typically work with pairs (when iterating through collections), and a neat inference capability with std::make_pair and a compile-time check with std::get.

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

Комментарии

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