r/cpp • u/BgA_stan • May 03 '26
When to actually use a set
https://dubeykartikay.com/posts/why-never-use-std-unordered-set/reposted with a different title, as i got feedback the previous title was clickbait
23
Upvotes
View all comments
Show parent comment
1
u/angelicosphosphoros May 04 '26
If you use abseil, you can just always use
flat_hash_setwhen you need a set.