38 typedef std::deque<int, std::allocator<int> >
Deque;
41 const Deque::value_type
a [] = { 99, 264, 126, 330, 132 };
42 const Deque::value_type
b [] = { 280, 105, 220, 84, 210 };
48 std::cout <<
"The following pairs of numbers: \n ";
51 std::cout << std::setw (6) << *
i1 <<
" ";
55 std::cout << std::setw (6) << *
i1 <<
" ";
59 std::transform (
d1.begin (),
d1.end (),
d2.begin (),
d1.begin (),
60 std::multiplies<int>());
63 std::cout <<
"\n\nHave the products: \n ";
65 std::cout << std::setw (6) << *
i1 <<
" ";
67 std::cout << std::endl;
std::deque< std::string, std::allocator< std::string > > Deque