Namespaces
Variants
Views
Actions

std::{{{1}}}::shrink_to_fit

From cppreference.com
Revision as of 18:21, 2 August 2011 by P12bot (Talk | contribs)

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

Template:param none

Return value

Template:return none

Complexity

Template:complex constant

See also

Template:cpp/container/dcl list size