MENU

Fun & Interesting

flat_map - WHO NEEDS THEM? THEY’RE JUST LIKE std::map. WE ALL HAVE THEM - Pavel Novikov - C++Online

C++Online 755 lượt xem 10 months ago
Video Not Working? Fix It Now

The Online C++ Conference - https://cpponline.uk/ -- @cpponlineconf
---

flat_map - WHO NEEDS THEM? THEY’RE JUST LIKE std::map. WE ALL HAVE THEM - Pavel Novikov - C++Online 2024

flat_map may seem like an unfamiliar animal, but you probably used it many times, maybe not realizing it: in essence flat_map is just a sorted sequence.

In this talk we will

compare flat_map to existing standard associative containers,
overview popular existing implementations of flat_map,
look at what is proposed to be included in the C++ standard library,
and try to draw some conclusions of what kind of flat_map do we really want to have in C++.

In the end you should get a good understanding of what a flat_map is, and in which situations you should use it.

The goal of this talk is to remind/familiarize audience with what flat_map is and how it can/should be used.

Slides: https://github.com/CppOnlineConference/CppOnline2024
---

Pavel Novikov

Got an engineering degree in missilery from BMSTU (Moscow).

Loves C++ and knows how to cook it.

Likes metaprogramming, multithreading and asynchronous programming, coroutine adoption enthusiast.
---

Streamed & Edited by Digital Medium Ltd - online.digital-medium.co.uk
---

C++Online - The Online C++ Conference organized by Shaved Yaks: https://shavedyaks.com/ & Digital Medium: https://events.digital-medium.co.uk
---

#cpp #cplusplus #cpponline #cppprogramming

Comment