Obsolete Members for const_iterator

Die folgenden Mitglieder der Klasse const_iterator sind veraltet. Sie werden bereitgestellt, um alten Quellcode funktionsfähig zu halten. Wir raten dringend davon ab, sie in neuem Code zu verwenden.

Öffentliche Funktionen

(deprecated in 6.2) QMap<Key, T>::const_iterator &operator+=(QMap<Key, T>::const_iterator::difference_type n)
(deprecated in 6.2) QMap<Key, T>::const_iterator &operator-=(QMap<Key, T>::const_iterator::difference_type n)

Verwandte Nicht-Mitglieder

(deprecated in 6.2) QMap<Key, T>::const_iterator operator+(QMap<Key, T>::const_iterator it, QMap<Key, T>::const_iterator::difference_type j)
(deprecated in 6.2) QMap<Key, T>::const_iterator operator+(QMap<Key, T>::const_iterator::difference_type j, QMap<Key, T>::const_iterator it)
(deprecated in 6.2) QMap<Key, T>::const_iterator operator-(QMap<Key, T>::const_iterator it, QMap<Key, T>::const_iterator::difference_type j)
(deprecated in 6.2) QMap<Key, T>::const_iterator operator-(QMap<Key, T>::const_iterator::difference_type j, QMap<Key, T>::const_iterator it)

Dokumentation der Mitgliedsfunktionen

[deprecated in 6.2] QMap<Key, T>::const_iterator &const_iterator::operator+=(QMap<Key, T>::const_iterator::difference_type n)

[deprecated in 6.2] QMap<Key, T>::const_iterator &const_iterator::operator-=(QMap<Key, T>::const_iterator::difference_type n)

[deprecated in 6.2] QMap<Key, T>::const_iterator operator+(QMap<Key, T>::const_iterator it, QMap<Key, T>::const_iterator::difference_type j)

[deprecated in 6.2] QMap<Key, T>::const_iterator operator+(QMap<Key, T>::const_iterator::difference_type j, QMap<Key, T>::const_iterator it)

[deprecated in 6.2] QMap<Key, T>::const_iterator operator-(QMap<Key, T>::const_iterator it, QMap<Key, T>::const_iterator::difference_type j)

[deprecated in 6.2] QMap<Key, T>::const_iterator operator-(QMap<Key, T>::const_iterator::difference_type j, QMap<Key, T>::const_iterator it)

Diese Funktion ist seit 6.2 veraltet. Wir raten dringend davon ab, sie in neuem Code zu verwenden.

Verwenden Sie stattdessen std::next, std::prev oder std::advance.

Verschiebt einen Iterator um n Positionen. Diese Operationen können bei großen Werten von n teuer sein. QMap Iteratoren haben keinen wahlfreien Zugriff.

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