size_type deque<X,A>::max_size() const;
#include <deque>
#include <iostream>
#include <deque>
int main()
{
using namespace std;
// Output the maximum size of a deque
deque<int> qD;
cout << "The maximum size is " << qD.max_size() << endl;
// Keep the window open
cin.get();
return 0;
}
© 20072025 XoaX.net LLC. All rights reserved.