このページでは

QList::iterator Class

class QList::iterator

QList およびQStack に対して、STLスタイルの非constイテレータを提供します。詳細...

パブリック関数

詳細な説明

QList STL スタイルのイテレータと Java スタイルのイテレータの両方を提供します。

警告: 暗黙的に共有されるコンテナ上のイテレータは 、STL イテレータとまったく同じように動作するわけではありません。そのコンテナ上でイテレータがアクティブな間は、コンテナのコピーを行わないようにしてください。詳細については、「暗黙的な共有イテレータの問題」を参照してください。

警告: `QList ` が変更されると、イテレータは無 効になります。デフォルトでは、すべてのイテレータは無効になると考えてください。この規則の例外については、明示的に文書化されています。

関連項目: QList::begin()、QList::end()、QList::const_iterator 、およびQMutableListIterator 。

メンバ関数のドキュメント

[constexpr default] iterator::iterator()

iterator のインスタンスをデフォルトコンストラクタで生成します。

© 2026 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.