Difference between revisions of "Template:cpp/container/shrink to fit"
From cppreference.com
m (Text replace - "<!-- ======== --> " to "") |
m (Text replace - "{{complex constant}}" to "Constant") |
||
Line 15: | Line 15: | ||
===Complexity=== | ===Complexity=== | ||
− | + | Constant | |
===See also=== | ===See also=== |
Revision as of 10:33, 10 October 2011
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
Return value
Complexity
Constant