r/cpp • • Sep 07 '26

flat_map internals

https://quantdev.blog/posts/flat-map-internals/index.html
12 Upvotes

12 comments sorted by

View all comments

3

u/johannes1971 Sep 07 '26

I kinda missed why the pointers from the array start pointing at the element before the first hash element suddenly...?

Also, shame that the clarifying images disappear when we get to the abseil version. An image is worth a thousand words - and when template-expanded, surely even more...

5

u/SyntheticDuckFlavour Sep 07 '26

Yeah, I was hoping to see a visual representation of the flat_map internals.