이 페이지에서

QDirListing::sentinel Class

class QDirListing::sentinel

이 클래스는 Qt 6.8에서 도입되었습니다.

상세 설명

QDirListing 반복의 끝을 알리기 위해 이 유형의 객체를 반환합니다. sentinel{} 와 동일한 값을 가지는 ` QDirListing::const_iterator `의 참조를 해제하는 것은 정의되지 않은 동작입니다.

참고: “전통적인” STL알고리즘은 iterator/sentinel을 지원하지 않으므로, QDirListing 에 대해서는 C++20 std::ranges 알고리즘을 사용하거나, C++17에서 범위 기반 알고리즘을 제공하는 타사 라이브러리를 사용해야 합니다.

QDirListing, QDirListing::const_iterator 및 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.