As of C++11, you can ask a vector or deque to return unneeded memory to the system by calling member function shrink_to_fit. This requests that the container reduce its capacity to the number of elements in the container. According to the C++ standard, implementations can ignore this request so that they can perform implementation- specific optimizations.As of C++11, you can ask a vector or deque to return unneeded memory to the system by calling member function shrink_to_fit. This requests that the container reduce its capacity to the number of elements in the container. According to the C++ standard, implementations can ignore this request so that they can perform implementation- specific optimizations.
a. minimize_memory
b. shrink_to_fit
c. reduce_capacity
d. squeeze_to_size
b. shrink_to_fit
Computer Science & Information Technology
You might also like to view...
The term cloud is based on the cloud-shaped image used in networking diagrams to illustrate the Internet
Indicate whether the statement is true or false
Computer Science & Information Technology
A hashtag specifies a keyword that can be used to find and group _______ by topic.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology