const_iterator Class
class QList::const_iteratorProvides an STL-style const iterator for QList and QStack. More...
Detailed Description
QList provides both STL-style iterators and Java-style iterators.
Warning: Iterators on implicitly shared containers do not work exactly like STL-iterators. You should avoid copying a container while iterators are active on that container. For more information, read Implicit sharing iterator problem.
Warning: Iterators are invalidated when QList is modified. Consider that all iterators are invalidated by default. Exceptions to this rule are explicitly documented.
See also QList::constBegin(), QList::constEnd(), QList::iterator, and QListIterator.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.0/qlist-const-iterator.html