View on GitHub

talks

home

C++ Online 2024

flat_map
Who needs them? They’re just like std::map. We all have them.

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

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

Description on the conference site:
https://cpponline.uk/session/flat_mapwho-needs-them-theyre-just-like-stdmap-we-all-have-them/

Slides: