---
title: "Discussion on \"std::flat_map in C++\" | Hashnode"
description: "Discussion on \"std::flat_map in C++\". If you have ever reached for std::map and wondered why iterating over it feels slower than it should, or why your cache profiler lights up red — std::flat_map is the answer C++23 gives you.\nThis post"
url: "https://hashnode.com/posts/std-flat-map-in-c/69c8df6e7816e434a00ad322"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [std::flat\_map in C++](https://moderncppguide.hashnode.dev/std-flat-map-in-c?utm_source=hashnode&utm_medium=feed)

If you have ever reached for std::map and wondered why iterating over it feels slower than it should, or why your cache profiler lights up red — std::flat\_map is the answer C++23 gives you. This post

Mar 29 · 11 min read · moderncppguide.hashnode.dev  
Read the article

-   [#cplusplus-cpp23-systems-programming-programming-software-development](https://hashnode.com/tag/cplusplus-cpp23-systems-programming-programming-software-development)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#cplusplus](https://hashnode.com/tag/cplusplus)
-   [#cpp23](https://hashnode.com/tag/cpp23)

## Written by

[keshav kumar](https://hashnode.com/@moderncppguide)

@moderncppguide · Pune, India

  
[View profile](https://hashnode.com/@moderncppguide)

Keep Coding and keep growing!

Senior Software Developer | C++ | Embedded Systems | Automotive | Performance Optimization Skills: C++ 11/14/17/20/23/26 Embedded Systems Multithreading STL Qt

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
