#include
#include
#include
using namespace std;
int main()
{
int data[5] = { 6, 8, 7, 6, 5 };
vector v(5, 6); //5 element vector
deque d(data, data + 5);
deque::iterator p;
cout << "\nDeque values" << endl;
for (p = d.begin(); p != d.end(); ++p)
cout << *p << '\t';
cout << endl;
d.insert(d.begin(), v.begin(), v.end());
for (p = d.begin(); p != d.end(); p++)
cout << *p << '\t';
}