const_iterator转iterator
#include #include #include #include using namespace std;int main(){ typedef deque IntDeque; typedef IntDeque::iterator Iter; typedef IntDeque::const_iterator ConstIter; int a[]={0,1,2,3,4,5,6,7,8,9,10}; IntDeque id(a,a+9); Iter i(id