add shrink_to_fit method to vectors #4960
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
This is useful for minimizing memory usage of a long-lived container after deletions, and was added to
std::vector
in C++11.The text was updated successfully, but these errors were encountered: