std::{{{1}}}::shrink_to_fit
From cppreference.com
Template:cpp/container//sidebar
void shrink_to_fit(); |
Template:mark c++11 feature | |
Requests the removal of unused capacity.
It is a non-binding request to reduce capacity
to size
. It depends on the implementation if the request is fulfilled.
Contents |
Parameters
(none)
Return value
(none)
Complexity
Constant