[Development] Future of java-style iterators?
Mathias Hasselmann
mathias at taschenorakel.de
Tue Dec 5 22:15:11 CET 2023
Hi,
would QDirIterator[1] be part of this deprecation? Its API clearly seems
be inspired by the Java-style iterators.
While I do not care much about the other Java-style iterators, I really
like this iterator and use it a lot.
What would be this iterator's modern replacement in Qt?
Ciao
Mathias
[1] https://doc.qt.io/qt-6/qdiriterator.html
Am 03.12.2023 um 21:56 schrieb Christian Ehrlicher:
> Hi,
>
> Some days ago we got an error report in the forum about QHashIterator,
> turned out to be a missing documentation for a complete class which
> remained unnoticed since Qt 6.0
> (https://bugreports.qt.io/browse/QTBUG-119461).
> This leads to the question if we should deprecate all java-style
> iterators since they seem to be a) not widely used and b) it looks like
> we don't support them in a way we should.
> What do you think?
>
>
> Cheers,
> Christian
>
>
More information about the Development
mailing list