---
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
46
15
3 months ago 00:05:55 1
Зарядка от гипертонии от доктора Шишонина. Эфир на ТВЦ.
3 months ago 01:40:57 1
Земля - симулятор. Боги - техперсонал. Мы - игроки. Что вообще происходит? — Рада Русских
3 months ago 00:00:09 1
Видео от Весёлая затейница
3 months ago 00:12:09 1
Начните Есть Куркуму Каждый День и Увидите, что Произойдет Через Месяц
3 months ago 00:02:40 1
HOGWARTS LEGACY РУССКАЯ ОЗВУЧКА УСТАНОВКА! (Только ПК и Стим дек) как установить включить 🎄👍🔔
3 months ago 01:11:18 1
Монгольское нашествие на Русь (все части) // Маховик Истории
3 months ago 00:22:31 1
“Доллар- тренд нисходящий“ «Обзор рынка Форекс от Александра Базылева»
3 months ago 00:00:35 1
Московский 65 от Legenda - Отделочные работы от ВЕРТИКАЛЬСТРОЙ
3 months ago 00:00:54 1
Кота плющит от шарика мяты | мемы | приколы от Зубарев #кот #Shorts
3 months ago 00:15:45 1
Хроническая УСТАЛОСТЬ: причины и ЛЕЧЕНИЕ. / Вечно нет сил, утомляемость или сонливость – что делать?
3 months ago 00:26:31 1
Как Живет Алина Кабаева – от Надежды Российской Гимнастики до Любовницы Путина
3 months ago 00:11:07 1
ДОРОХ, видео-заметки (мини-тур Ярославль)
3 months ago 00:02:56 1
ПРЕМЬЕРА! Иди Нах*й / Приколисты-2021
3 months ago 00:14:57 1
ОБРАЩЕНИЕ к педагогам и не только
3 months ago 00:14:05 1
Изучаем космос - от Земли до Марса - Космические мультики для детей
3 months ago 00:36:12 1
Леонид Тальпис: Как получать деньги в легкости? Почему богатые люди несчастны? Денег не существует
3 months ago 00:07:30 1
СОЛНЦЕЗАЩИТНАЯ пленка на ОКНА: как ВЫБРАТЬ и НЕ ОШИБИТЬСЯ?
3 months ago 01:21:45 1
Как избавиться от голоса в голове. Что есть за пределами мыслей