QList::iterator Class
class QList::iteratorFornece um iterador não const do tipo STL para QList e QStack. Mais...
Funções públicas
| iterator() |
Descrição detalhada
QList fornece tanto iteradores no estilo STL quanto iteradores no estilo Java.
Aviso: Os iteradores em contêineres compartilhados implicitamente não funcionam exatamente como os iteradores da STL. Você deve evitar copiar um contêiner enquanto houver iteradores ativos nesse contêiner. Para obter mais informações, leia o artigo “Problema de iteradores em compartilhamento implícito”.
Aviso: Os iteradores são invalidados quando ` QList ` é modificado. Considere que todos os iteradores são invalidados por padrão. As exceções a essa regra estão explicitamente documentadas.
Veja também ` QList::begin()`, ` QList::end()`, ` QList::const_iterator` e ` QMutableListIterator`.
Documentação das funções-membro
[constexpr default] iterator::iterator()
Constrói, por padrão, uma instância de ` 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.