Quantcast
Channel: Learn Modern C++
Viewing all articles
Browse latest Browse all 32

Exploring C++23’s flat_map

$
0
0
This article intends to examine how to utilize the container adapter std::flat_map, new to the C++23 Standard Library. You’re probably familiar with std::map and std::unordered_map (and their “multi” variants), and may be curious as to why we need another associative container type. The reason, as usual for C++, is performance: in some cases, operations on… Continue reading Exploring C++23’s flat_map

Viewing all articles
Browse latest Browse all 32

Trending Articles