#include using namespace std; int main() { int m[] = {1, 2, 3, 4, 5, 6}; deque d1; deque d2(m, m + 6); deque::iterator it = d2.begin(); while (it != d2.end()) { cout << *it << " "; it++; } cout << endl; return 0; }