C++ examples for STL:deque
Declare a deque that has an initial capacity of 10.
#include <iostream> #include <deque> using namespace std; int main() {//from ww w . j ava 2s .c o m //Declare a deque that has an initial capacity of 10. deque<int> dq(10); return 0; }