---
Back to Basics: Standard Library Containers in C - Rainer Grimm - CppCon 2022
From a bird’s-eye view, the Standard Template Library (STL) consists of three components. Those are containers, algorithms that run on the containers, and iterators that connect both of them. The STL has five sequential and eight associative containers. I hear your question:
* When should I use a sequence container or an associative one?
* When I decided for a sequence container or an associative one, which one should I use?
The answers to these questions depends mainly on two facts: use case and performance.
You may not know it but std::array and std::vector are your best friends for sequence containers, and you are most of the time fine with std::unordered_map when you need an associative container.
---
Rainer Grimm
Rainer has worked as a software architect, team lead, and instructor since 1999. In 2002, Rainer created a company-intern meeting for further education and had given training courses since 2002. Rainer’s first tutorials were about proprietary management software, but he began teaching Python and C soon after. In his spare time, he likes to write articles about C , Python, and Haskell and speak at conferences. Rainer publishes weekly on his English blog Modernes C . Since 2016, Rainer has been an independent instructor, giving seminars about modern C and Python. Due to his profession, he constantly searches for the best way to teach modern C . He published several books in various languages about modern C in the last ten years, including the last one “C Core Guidelines Explained: Best Practices for Modern C “.
---
Videos Filmed & Edited by Bash Films:
YouTube Channel Managed by Digital Medium Ltd
#cppcon #programming #stl
1 view
52
20
4 weeks ago 00:00:46 1
ХОТЕЛ ПРОГУЛЯТЬ ШКОЛУ, НО ЗАБЫЛ, ЧТО НЕТ БАТИ 🤣 1 часть
4 weeks ago 00:13:41 1
Самые продвинутые человекоподобные роботы | Компьютер на ДНК | Робот в костюме Железного человека
4 weeks ago 00:23:18 1
Путь капитана 30-4. Швартовка в Афинах. Боковой ветер 25.
4 weeks ago 00:00:14 2K
Видео от УЛИЧНЫЕ ДРАКИ | ММA | WORKOUT
4 weeks ago 00:03:27 1
Севара - Там нет меня (Официальное видео)
4 weeks ago 00:01:07 1
Дети о безопасности: безопасность на дороге. Проект МЧС России
4 weeks ago 00:03:32 1
«Мираж любви» - Ярослав Сумишевский (Lyric video)
4 weeks ago 00:39:32 1
ВЛОГ.МЫ УЕХАЛИ В ОТПУСК. МНОГО НОВОСТЕЙ.ИСПАНИЯ САЛОУ .
4 weeks ago 00:04:15 1
ПОДАРОК который выручит ВСЕГДА
4 weeks ago 00:00:58 1
Видео от Кизлярские ножи 05(480p).mp4
4 weeks ago 00:00:06 22
видео от ветеринарной клиники
4 weeks ago 00:03:28 1
️ Ексклузивно видео от Курска област
4 weeks ago 00:01:52 1
Video
4 weeks ago 00:05:59 1
СОМНЕНИЯ : ОТ БОГА ИЛИ ОТ ДЬЯВОЛА ? Протоиерей Владимир Новицкий
4 weeks ago 00:06:50 1
Дмитрий «Гоблин» Пучков ПРО Слова Бастрыкина // «Госдура» // Мигранты [ИНТЕРВЬЮ]
4 weeks ago 01:17:09 1
АРТАМОНОВ про Курск, удары вглубь России, ядерную войну, кулуарные договорняки, Трампа и Путина
4 weeks ago 00:15:29 1
Мой новый геодезический инструмент - сканер CHC RS10. Технологии SLAM и RTK в одном приборе!!
4 weeks ago 00:16:47 1
ВНИМАНИЕ! Новый Шокирующий Приказ по мужчинам от 18 до 60 лет!
4 weeks ago 00:00:33 15
Видео от Путь Души
4 weeks ago 00:00:37 5
Видео от Вкусный формат| Кулинария| Хозяйкины хитрости
4 weeks ago 00:02:57 1
The Mindbenders “It’s Getting Harder All The Time“ (UK, 1967)
4 weeks ago 00:06:52 1
Вечнозеленая воронка, приводящая клиентов каждый день
4 weeks ago 00:01:00 12
Видео от Vadim Voice
4 weeks ago 00:22:33 1
Приятная РАСТЯЖКА и мобилизации от БОЛИ в СПИНЕ и СУСТАВАХ