iterator Class
class QList::iteratorSTL 形式の nononst イテレータをQList およびQStack に提供します。詳細
詳細な説明
QList はSTL スタイルのイテレータと Java スタイルのイテレータの両方を提供します。
警告 暗黙的に共有されたコンテナ上のイテレータは、STLイテレータのようには動作しません。そのコンテナ上でイテレータがアクティブになっている間は、コンテナのコピーは避けるべきである。詳細については、暗黙の共有イテレータ問題を参照してください。
警告 QList が変更されると、イテレータは無効になる。デフォルトでは、すべてのイテレータが無効になると考えてください。この規則に対する例外は、明示的に文書化されています。
QList::begin()、QList::end()、QList::const_iterator 、QMutableListIteratorも参照のこと 。
© 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.