deque初始化有关问题。多谢

deque初始化问题。谢谢
#include<iostream>
#include<vector>
#include<list>
#include<deque>
#include<algorithm>
using namespace std;
int main()
{

  int b[10] = {1,1,1,1,1,1,1,1,1,1};
deque<int> ideq(b, b + 10);//报错cannot convert parameter 1 from 'char [10]' to 'unsigned int'

return 0;
}

这样编译时报错。。。。但是我把deque改为list或vector就对了。。。是不是deque不支持这样的初始化?但C++primer  
265说这种初始化支持所有容器啊、。。。。。我错在哪了?求大侠。。。。

------解决方案--------------------
什么编译器?
在vs2008下无问题
------解决方案--------------------
楼主用的是什么编译器呢?如果是VC6就赶紧的换吧,太老了,不支持标准啊。