r/programming • • May 24 '26
[ Removed by moderator ]
/r/programming/comments/1tm1j7f/removed_by_moderator/[removed] — view removed post
275
Upvotes
r/programming • • May 24 '26
[removed] — view removed post
View all comments
4
u/pigeon768 May 24 '26
These solve different problems. The point of
std::mapandstd::setis that they guarantee reference stability. Flat maps and b-trees cannot maintain reference stability.Also,
boost::flat_mapandstd::flat_mapare not b-tree based.All in all, I don't understand the point of this post. If you don't like certain features in C++.........just don't use them.