QList::const_iterator Class

class QList::const_iterator

QListQStack 提供 STL 风格的常量迭代器。更多

详细说明

QList 提供STL 风格迭代器Java 风格迭代器

警告: 隐式共享容器上的迭代器的工作方式与 STL-迭代器并不完全相同。当容器上的迭代器处于活动状态时,应避免复制该容器。更多信息,请阅读隐式共享迭代器问题

警告: 当修改QList 时,迭代器将失效。默认情况下,所有迭代器都会失效。该规则的例外情况已明确记录在案。

另请参阅 QList::constBegin(),QList::constEnd(),QList::iterator, 和QListIterator

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.