C++ List max_size()C++ List max_size() function determines the maximum size of the list. This function does not change the size of the list. SyntaxParameterIt does not contain any parameter. Return valueIt returns the maximum number of elements that the list can hold upto. ExampleLet's see a simple example Output: size of the list is: 768614336404564650 In this example, max_size() function returns the maximum size of the list that it can hold upto.
Next Topicfront() Function
|