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.



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

Help Others, Please Share

facebook twitter pinterest