Reputation: 42379
cppref shows that std::flat_set
is not yet implemented while std::flat_map
is already done in libc++20.
And, this proposal shows std::flat_set
and std::flat_map
are both done in libc++ by Arthur O'Dwyer.
I think std::flat_map
and std::flat_set
are rather like, and std::flat_map
should be more complicated than std::flat_set
.
Why is std::flat_map
already done while std::flat_set
is not yet?
Upvotes: 2
Views: 132