En esta página

QDirListing::sentinel Class

class QDirListing::sentinel

Esta clase fue introducida en Qt 6.8.

Descripción detallada

QDirListing devuelve un objeto de este tipo para señalar el final de la iteración. Dereferenciar un QDirListing::const_iterator que es igual a sentinel{} es un comportamiento indefinido.

Nota: Los algoritmos STL "clásicos" no soportan iterador/sentinel, por lo que es necesario utilizar algoritmos std::ranges de C++20 para QDirListing, o bien una librería de terceros que proporcione algoritmos basados en rangos en C++17.

Véase también QDirListing, QDirListing::const_iterator, y QDirListing::DirEntry.

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