Javatpoint Logo
Javatpoint Logo

C++ Deque shrink_to_fit()

C++ Deque shrink_to_fit() function reduces the memory usage to fit the size of the container. This function does not modify the content of a deque.

Syntax

Parameter

It does not contain any parameter.

Return value

It does not return any value.

Example 1

Let's see a simple example


Next TopicC++ Deque



Please Share

facebook twitter google plus pinterest