Obsolete Members for QMap::const_iterator

クラスconst_iterator の以下のメンバーは非推奨です。これらは古いソース・コードの動作を維持するために提供されています。新しいコードでは使用しないことを強くお勧めします。

パブリック関数

(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)

関連する非メンバー

(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)

関連する非メンバー

[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)

[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)

この関数は6.2から非推奨となった。新しいコードでは使用しないことを強くお勧めします。

代わりにstd::next,std::prev またはstd::advance を使用してください。

イテレータを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.