Skip to content

Latest commit

 

History

History

C++ Russia

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

C++ Russia 2023

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

  • 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 what situations you should use it.

Video: https://www.youtube.com/watch?v=0vkLpuxgL-c (in Russian)

Description on the conference site:
https://cppconf.ru/en/talks/cddda62654954de58cb10f1bae877925/
(and in Russian)

Slides: