Namespaces
Variants
Views
Actions

Difference between revisions of "Template:cpp/container/shrink to fit"

From cppreference.com
(use correct template)
m (Text replace - "{{see also}}" to "===See also===")
Line 21: Line 21:
  
 
<!-- ======== -->
 
<!-- ======== -->
{{see also}}
+
===See also===
  
 
{{dcl list begin}}
 
{{dcl list begin}}
 
{{dcl list template | cpp/container/dcl list size |{{{1|}}}}}
 
{{dcl list template | cpp/container/dcl list size |{{{1|}}}}}
 
{{dcl list end}}
 
{{dcl list end}}

Revision as of 16:27, 2 August 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.

Template:params Template:param none

Template:returns Template:return none

Template:complex Template:complex constant

See also

Template:cpp/container/dcl list size