QList<T>::iterator是 一种可读写的迭代器,使用时只需按照C++的操作方式即可。(STL迭代器)
QList<int> numList; numList<<1<<2<<3<<4<<5; QList<int>::iterator it_numRw; it_numRw=numList.begin(); for(;it_numRw!=numList.end();++it_numRw){ qDebug()<<*it_numRw; }
标签:end,iterator,迭代,numRw,QList,numList From: https://www.cnblogs.com/zzzsj/p/17171582.html