Obsolete Members for QMap::iterator

iterator 클래스의 다음 멤버들은 더 이상 사용되지 않습니다. 이 멤버들은 기존 소스 코드가 계속 작동하도록 하기 위해 제공됩니다. 새로운 코드에서는 이 멤버들을 사용하지 않는 것을 강력히 권장합니다.

공개 함수

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

관련 비멤버

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

멤버 함수 설명서

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

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

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

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

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

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

이 함수는 6.2 버전부터 더 이상 권장되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

대신 std::next, std::prev 또는 std::advance 를 사용하십시오.

이테레이터를 n 위치만큼 이동시킵니다. n의 값이 클 경우 이러한 연산에 상당한 비용이 소요될 수 있습니다. QMap 이테레이터는 랜덤 액세스 방식이 아닙니다.

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