Declare a deque that has an initial capacity of 10. - C++ STL

C++ examples for STL:deque

Description

Declare a deque that has an initial capacity of 10.

Demo Code

#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;
}

Related Tutorials